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

Post New Answer

More C Interview Questions

c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

0 Answers  


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

0 Answers   TCS,


Can you assign a different address to an array tag?

0 Answers  


Explain how can you avoid including a header more than once?

0 Answers  


What is malloc calloc and realloc in c?

0 Answers  






Why c is called top down?

0 Answers  


void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?

2 Answers   TCS,


difference between i++* and *++i

6 Answers   IBM,


WAP to accept rollno,course name & marks of a student & display grade if total marks is above 200?

4 Answers  


how can u print a message without using any library function in c

1 Answers   NIIT,


what is c?

4 Answers   IBM, TCS,


What is volatile variable how do you declare it?

0 Answers  


Categories