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");}
}
Answers were Sorted based on User's Feedback
Answer / rohit kakade
this pgm has error because height is not defined in the main()
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ajay
out is same ,so programmer write the other message in else part ,
| Is This Answer Correct ? | 0 Yes | 0 No |
Differentiate between declaring a variable and defining a variable?
What is the benefit of using const for declaring constants?
What is the use of #include in c?
what is the use of operator ^ in C ? and how it works?
Explain the difference between null pointer and void pointer.
Explain setjmp()?
What are pointers? What are different types of pointers?
Write a program for print infinite numbers
What is memmove?
How can you allocate arrays or structures bigger than 64K?
What is the purpose of #pragma directives in C?
5. distance conversion: Convert a distance from miles to kilometers .there are 5280 feets per mile,12 inches per foot .2.54 centimeters per inch and 100000centimeters per kilometer