biggest of two no's with out using if condition statement
Answer Posted / jasna.c
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,big;
printf("\nEnter the two numbers ");
scanf("%d%d",&a,&b);
big=(a>b)?a:b;
printf("\n The biggest number is %d",big);
getch();
}
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is the basic structure of c?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
How can I do peek and poke in c?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
Using which language Test cases are added in .ptu file of RTRT unit testing???
What is context in c?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
What does 2n 4c mean?
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
what is bit rate & baud rate? plz give wave forms
Explain how can I make sure that my program is the only one accessing a file?
How do shell structures work?
What does != Mean in c?
Explain what is the advantage of a random access file?
What are the different types of linkage exist in c?