biggest of two no's with out using if condition statement
Answer Posted / partheeban
void main()
{
float i,j;
int a;
printf("Enter two numbers : ");
scanf("%f%f",&i&j);
a=i/j;
if(a)
printf("%f is greater",i);
else
printf("%f is greater",j);
}
Is This Answer Correct ? | 2 Yes | 9 No |
Post New Answer View All Answers
Define the scope of static variables.
Why c language?
Explain what is the most efficient way to store flag values?
How do you define a function?
What are the string functions? List some string functions available in c.
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
Explain how do you print an address?
What are the 3 types of structures?
The __________ attribute is used to announce variables based on definitions of columns in a table?
what is bit rate & baud rate? plz give wave forms
Are c and c++ the same?
What are the different types of C instructions?
What is the default value of local and global variables in c?
Write a program to print all permutations of a given string.
Explain what is the difference between the expression '++a' and 'a++'?