Use the lab instructions given on the Internet at http://voyager.deanza.edu/~oldham
Use the same format for the opening comments as in assignment A, with
your name, course and quarter, assignment, problem, and short problem description.
Type a program, as described in the following description.
Compile it, correct any errors and execute it.
Declare the following three variables:
char letter; int number; double decimalNumber;
Prompt the user to enter a letter.
Use scanf to read the letter into the variable letter
Assign the variable number
the value from the variable letter
Assign the variable decimalNumber
the value from the variable number
Print the values of the three variables using the following format:
Character: K Number: 75 Decimal number: 75.000000
Test the program with the input letter a
and copy the results
into an /* Execution Results:
comment.
Test the program again with the input letter A
and copy these results
below the first execution results.
Print the completed program with both execution results from within the Interactive Development Environment.
Write a program that has five memory constants, not #define
preprocessor statements.
Initialize them with the five vowels, in lower case.
Print them, one per line.
No input data is needed.
Copy the execution results into an /* Execution Results:
comment,
Print the completed program with the execution results from within the
Interactive Development Environment.