Computer Science, asked by mrchetraj8765501516, 3 months ago

Wap to check the largest number among three numbers ​

Answers

Answered by aprajitakumari85799
1

Answer:

c programming

#include<stdio.h>

#include <conio.h. >

main ( )

int a,b,c;

clrscr ( );

printf (" Enter value of a,b,c");

scanf ("%d%d%d",&a,&b,&c);

if (a>b&&a>c)

{

printf ("a is greatest");

}

else if ( b>a&&b>c)

{

printf ("b is greatest ");

}

else if (c>a&&c>b)

{

printf ("c is greatest);

}

getch ( );

}

Similar questions
Math, 3 months ago