Program to find Greatest among Three Number January 01, 2018 Programing In C No comments #include<conio.h> #include<stdio.h> void main() { int a,b,c; clrscr(); printf("Enter the Numbers A,BandC"); scanf("%d%d%d",&a,&b,&c); if(a>b) { printf("%d",a); } else { printf("%d",c); } } else if(b>c) { printf("%d",b); } else { printf("%d",c); getch(); } Output Enter the numbers A,B and C=25,47,5 47 Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment