0
why don't run this code?? plz help..
/*Finding the largest of three numbers*/ #include<stdio.h> main() { int a,b,c; printf("input three integer numbers"); scanf("%d%d%d",&a,&b,&c); if(a>b)&&(a>c); printf("\n %d is the largest number",a); else if(b>a)&&(b>c) printf("\n %d is the largest number",b); else(c>a)&&(c>b) printf("\n %d is the largest number",c); return0; }
8 Antworten
+ 12
https://www.sololearn.com/Discuss/518425/?ref=app
pls check this
+ 1
Don't add condtion in else part
+ 1
thanks for Help..
+ 1
bro I don't understand..Kindly tell me in details.. plz plz
+ 1
thanks apu..for ur information..
+ 1
else part is default block all conditions are false which are placed in of and if else automatically execite else block so comdition dont required in else statement
+ 1
thnx #sri venkat
+ 1
else part a condition daoya jaba na