answersLogoWhite

0

{

char a;

...

cout << "Enter a character: ";

cin >> a;

cout << "You entered: " << a;

...

}

User Avatar

Wiki User

16y ago

What else can I help you with?

Continue Learning about Engineering

Write a program in foxpro to chek inputed character is vowel or not?

You can use the following FoxPro code snippet to check if an input character is a vowel: CLEAR INPUTCHAR = UPPER(INPUT(&quot;Enter a character: &quot;)) IF INLIST(INPUTCHAR, &quot;A&quot;, &quot;E&quot;, &quot;I&quot;, &quot;O&quot;, &quot;U&quot;) ? &quot;The character is a vowel.&quot; ELSE ? &quot;The character is not a vowel.&quot; ENDIF This program prompts the user for a character, converts it to uppercase, and checks if it is one of the vowels using the INLIST function.


How do you write a c program to data of birthday?

enter ur birthday date


How do you write a horoscope program on python?

Hi gys, are you looking to write a program to know the sign depends on the birth date or horoscope on python? write down following codes on python, those will make a nice program. #This program will get the horoscope sign. def getSign(): name = raw_input ("Enter Your Name: ") month = raw_input("Enter Birth Month: ") day = int(raw_input("Enter Birth Day of Month: ")) if month "y": main() letter = raw_input("Go again? (y/n): ")


How do you write a c program to prints name?

Write a c program that reads your first name and surname when you enter them. Each part of your name should not be more than 12 characters. Finally, have the program display your full name.


Write various ways to implement stack data structure?

2. Write a program using switch statement that reads a character representing a geometrical figure, then asks the user to enter the required data (ex. Radius for a circle, length and height for a rectangle, etc. ...) . The program should then print the area and circumference.Figures are: circle(c), square(s), rectangle(r), triangle (t).

Related Questions

When can you enter robot wars?

Write to the program's producers at the BBC.


Write a program in foxpro to chek inputed character is vowel or not?

You can use the following FoxPro code snippet to check if an input character is a vowel: CLEAR INPUTCHAR = UPPER(INPUT(&quot;Enter a character: &quot;)) IF INLIST(INPUTCHAR, &quot;A&quot;, &quot;E&quot;, &quot;I&quot;, &quot;O&quot;, &quot;U&quot;) ? &quot;The character is a vowel.&quot; ELSE ? &quot;The character is not a vowel.&quot; ENDIF This program prompts the user for a character, converts it to uppercase, and checks if it is one of the vowels using the INLIST function.


How do you write a c program to data of birthday?

enter ur birthday date


How do you write a horoscope program on python?

Hi gys, are you looking to write a program to know the sign depends on the birth date or horoscope on python? write down following codes on python, those will make a nice program. #This program will get the horoscope sign. def getSign(): name = raw_input ("Enter Your Name: ") month = raw_input("Enter Birth Month: ") day = int(raw_input("Enter Birth Day of Month: ")) if month "y": main() letter = raw_input("Go again? (y/n): ")


How do you write a c program to prints name?

Write a c program that reads your first name and surname when you enter them. Each part of your name should not be more than 12 characters. Finally, have the program display your full name.


Write various ways to implement stack data structure?

2. Write a program using switch statement that reads a character representing a geometrical figure, then asks the user to enter the required data (ex. Radius for a circle, length and height for a rectangle, etc. ...) . The program should then print the area and circumference.Figures are: circle(c), square(s), rectangle(r), triangle (t).


Can you be a singer at 11?

Yes, there is a program that Radio Disney has that you can enter in and you can become famous. You need to write a couple of songs though.


A Java Program to choose directory and search file name content file name and content must both enter It will list out the result and when click on the result it will show the content?

write a program of phone dirictory


Write a program in php that asks the user to enter a distance in kilometers, then convert that distance to miles. The conversion formula is as follows: Miles = Kilometers x 0,6214?

answer:


Is there a program where you can write and it will say what you wrote?

You can do this using the windowscommand line, go START > RUN. In the box typecmd and hit ENTER. In the black box that appears type echo off then hit ENTER then type echo whatever and hit enter. It will say what you wrote after echo


How do you write a program to find the area of a square in qbasic?

To write a program in QBASIC to find the area of a square, you first need to prompt the user to enter the length of one side of the square. You can then calculate the area by squaring the length (multiplying it by itself) and finally display the result. Here's a simple example: INPUT &quot;Enter the length of the side of the square: &quot;, side area = side * side PRINT &quot;The area of the square is: &quot;; area


Write a program to calculate the sum of two numbers in unix?

$vi sum.sh echo "enter the 1st no." read num1 echo "enter the 2nd no." read num2 sum= 'expr $num1 + $num2' echo "sum of the numbers is $sum"