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 bubble sort technique in c?
How to write c functions that modify head pointer of a linked list?
What are the 4 data types?
Explain the use of bit fieild.
When a c file is executed there are many files that are automatically opened what are they files?
What are the 4 types of organizational structures?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
Why c is known as a mother language?
what does static variable mean?
What is the difference between exit() and _exit() function?
What do header files do?
What is abstract data structure in c?
How pointers are declared?
Describe the difference between = and == symbols in c programming?
about c language