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
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
what is the output of the following program? #include<stdio.h> void main() { float x=1.1; while(x==1.1) { printf("\n%f",x); x=x-0.1; } }
What is the scope of static variables?
write a c/c++ programthat connects to a MYSQL server and checks if the INNoDB plug in is installed on it.If so your program should print the total number of disk writes by MYSQL.
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
In C language, a variable name cannot contain?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
void main() { int s[4][2]={ {1234,56},{1212,33},{1434,80},{1312,78} }; int (*p)[2]; int i,j,*pint; for(i=0;i<=3;i++) { p=&s[i]; pint=p; printf("\n"); for(j=0;j<=1;j++) printf("%d",*(pint+j)); } } while running this program it shows a warning-suspicious pointer conversion ie pint=p; my que is why should we assign the value of p to pint again.why cant we use it directly as *(p+j)..but if i use like tat the o/p is garbage value..
What is indirection?
write a c program to add two integer numbers without using arithmetic operator +
What are the __date__ and __time__ preprocessor commands?
How to set a variable in the environment list?