Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Write a program to find factorial of a number using recursive function.

1062


How can I list all of the predefined identifiers?

927


Why is structure padding done in c?

1070


How can you access memory located at a certain address?

1059


Can a function argument have default value?

1090


What is scanf_s in c?

1063


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

1062


What is boolean in c?

1030


What is this infamous null pointer, anyway?

987


What does the file stdio.h contain?

997


Can we declare function inside main?

941


write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3

2029


Why is c used in embedded systems?

1056


What is ponter?

1220


What is the purpose of realloc()?

1093