subrat


{ City } delhi
< Country > india
* Profession * student
User No # 57455
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 1
Users Marked my Answers as Wrong # 0
Questions / { subrat }
Questions Answers Category Views Company eMail




Answers / { subrat }

Question { 8144 }

find largest of 3 no


Answer

#include
#include
void main()
{
int a,b,c,max;
printf("enter any three numbers");
scanf("%d %d %d",&a,&b,&c);
max=a;
if(b>max)
max=b;
if (c>max)
max=c;
printf("largest of %d %d %d is %d", a,b,c,max);
}

Is This Answer Correct ?    1 Yes 0 No