Program will then find the largest of three numbers using nested if-else statements.
User is prompted to enter three numbers.
Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed.
If user enters 21, 33, and 5, the output should be as follows:
You entered: 21, 33 and 5. The largest number is 33.
No Answer is Posted For this Question
Be the First to Post Answer
Explain how are 16- and 32-bit numbers stored?
How do I declare a pointer to an array?
#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }
for(i=0;i=printf("Hello");i++); printf("Hello"); how many times how will be printed?????????
What is the difference between typedef and #define?
Ow can I insert or delete a line (or record) in the middle of a file?
Explain main function in c?
What are the 5 types of inheritance in c ++?
Define C in your own Language.
What is clrscr ()?
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
write a program to concatenation the string using switch case?