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 / mihir a kamdar

#include<stdio.h>
main()
{
int n1,n2,n3,big;
printf("Enter 3 No.=");
scanf("%d %d %d",&n1,&n2,&n3);

if(a>b)
big=a;
else
big=b;

if(c>big)
big=c;

printf("\n Largest No is=%d",big);

getch();
}



}

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does d mean?

1165


What is oops c?

1340


What is a spanning Tree?

1660


What are preprocessor directives in c?

1156


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

2386


What are nested functions in c?

1071


What is %g in c?

1120


What is a good way to implement complex numbers in c?

1090


Which is the memory area not included in C program? give the reason

1998


Explain how can you restore a redirected standard stream?

1153


What is the difference between %d and %i?

1147


What is the right type to use for boolean values in c? Is there a standard type?

1060


Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.

1321


Why doesnt this code work?

1123


Write a program to use switch statement.

1184