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 / rohit kakade
this pgm has error because height is not defined in the main()
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Does c have an equivalent to pascals with statement?
How can I sort more data than will fit in memory?
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
Give basis knowledge of web designing ...
What is the advantage of using #define to declare a constant?
How can I dynamically allocate arrays?
Explain how are portions of a program disabled in demo versions?
What is zero based addressing?
Explain what are the different data types in c?
What are the advantages of using Unions?
How to write c functions that modify head pointer of a linked list?
Write a C program in Fibonacci series.
What is formal argument?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
How can I call a function with an argument list built up at run time?