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 a macro?
Explain the advantages and disadvantages of macros.
Explain the difference between malloc() and calloc() function?
Explain the binary height balanced tree?
Is null valid for pointers to functions?
Is c dynamically typed?
What is formal argument?
What is the difference between char array and char pointer?
Write a program on swapping (100, 50)
What is console in c language?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What is a program?
write a proram to reverse the string using switch case?
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
Without Computer networks, Computers will be half the use. Comment.