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...

find largest of 3 no

Answer Posted / g.ravi teja

#include<stdio.h>
int main()
{
int a,b,c;
printf("enter the numbers");
scanf("%d,%d,%d",&a,&b,&c);
if(a>b&&a>c)
printf("a is greater");
if(b>a&&b>c)
printf("b is greater");
else
printf("c is greater");
}

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are static variables in c?

1067


Can you please explain the difference between malloc() and calloc() function?

1108


write a program to create a sparse matrix using dynamic memory allocation.

4882


What are structures and unions? State differencves between them.

1160


Why is c called a structured programming language?

1265


What are the differences between Structures and Arrays?

1189


What do you mean by scope of a variable in c?

1001


What is pointer to pointer in c with example?

1052


What is pointer to pointer in c?

1098


What is function definition in c?

1069


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

1043


Are there constructors in c?

999


Write a program to swap two numbers without using third variable in c?

1121


how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....

1785


Should I learn c before c++?

1213