#include<stdio.h> #include<conio.h> void main() { float a,b,c; clrscr(); printf("enter three values:"); scanf("%f %f %f",&a,&b,&c); if(a>b) { if(a>c) printf("%f",a); else printf("%f",c); } else { if(c>b) printf("%f",c); else printf("%f",b); } getch(); }
No comments:
Post a Comment