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 |
Write a Program to find whether the given number or string is palindrome.
What is void main () in c?
Why static variable is used in c?
size maximum allocated by calloc()
How can you draw circles in C?
What are the 5 data types?
Which header file is essential for using strcmp function?
Where we use clrscr in c?
What is actual argument?
how to set Nth bit of variable by using MACRO
What is clrscr ()?
2. Counting in Lojban, an artificial language developed over the last fourty years, is easier than in most languages The numbers from zero to nine are: 0 no 1 pa 2 re 3 ci 4 vo 5 mk 6 xa 7 ze 8 bi 9 so Larger numbers are created by gluing the digit togather. For Examle 123 is pareci Write a program that reads in a lojban string(representing a no less than or equal to 1,000,000) and output it in numbers.