#include<stdio.h>
{
int a,b,c;
printf("Maksimum 1 = ");
scanf("%d",&a);
printf("Maksimum 2 = ");
scanf("%d",&b);
printf("Maksimum 3 = ");
scanf("%d",&c);
if((a>b)&&(a>c))
printf("Nilai %d= maksimum",a);
else if((b>a)&&(b>c))
printf("Nilai %d= maksimum",b);
else
printf("Nilai %d= maksimum",c);
return 0;
}
0 komentar:
Posting Komentar