Write a program that takes declarcs two variables of integer type, two
variables of float type and one variable of character type then prompt the user
to input values tor the variables. Finally. display the memory space taken by
the variables on scrcen
Answers
Answered by
1
Answer:
e them to 10,15 and 12.6.The output is to print the variables in the screen.
Explanation:
Algorithms;
1.start
2.Input the integer a and b having values 10 and 15 and float as c having 12.6 i.e. int a=10, b=15; float c=12.6
3.Print the variables given by the user .Assign the result as a=10,b=15 and c=12.60000
4.End.
Flowcharts;
fig: flowchart to print the variables.
Similar questions