Question: write a c program for the above Write a program that declares variables with different data types, prompts the user for entry of values for

write a c program for the above
Write a program that declares variables with different data types, prompts the user for entry of values for each variable, and then prints them. .Declare three variables: an integer, a character, and a double. You may name the variables with names of your own choosing, following the rules for variable names. Prompt the user to enter a value for each variable and read in the values using scanf with appropriate conversion specifiers. Use a separate prompt and scanf statement for each variable .Print the variables that were entered, using a descriptive sentence or phrase to identify each output variable. For the character, print both the character (using %c) and its integer equivalent (using %d). For the double, print with two decimal digits
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
