main()
{
int age;
float ht;
printf("Enter height and age");
scanf("%d%d",&height,&age);
if((age<=20)&&(ht>=5))
{printf("She loves you");}
else
{printf("She loves you");}
}
Answer Posted / ajay
out is same ,so programmer write the other message in else part ,
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
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.
How do you define structure?
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent
What is c value paradox explain?
What are the advantages of the functions?
What is the difference between strcpy() and memcpy() function in c programming?
Explain goto?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
formula to convert 2500mmh2o into m3/hr
Do you know the use of fflush() function?
What is spaghetti programming?
Explain what math functions are available for integers? For floating point?
Where local variables are stored in c?
What is data structure in c and its types?
Explain Basic concepts of C language?