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 |
In C programming, what command or code can be used to determine if a number of odd or even?
Design a program using an array that searches a number if it is found on the list of the given input numbers and locate its exact location in the list.
write a program to print infinte number
Display names and numbers of employees who have 5 years or more experience and salary less than Rs.15000 using array of structures (name, number, experience and salary)
write a prgram of swapping with 2 valiables
Explain what are multibyte characters?
What are the average number of comparisons required to sort 3 elements?
Write a code to generate a series where the next element is the sum of last k terms.
write a program to concatenation the string using switch case?
Write a program to identify if a given binary tree is balanced or not.
What's a good way to check for "close enough" floating-point equality?
write a program to display all prime numbers