greatest among four numbers C-Program
#include<stdio.h> #include<conio.h> main() { int a,b,c,d; printf("input four different numbers="); scanf("%d %d %d %d",&a,&b,&c,&d); if(a>b&&a>c&&a>d) { printf("%d is the greatest number",a); } else if(b>c&&b>d) { printf("%d is the greatest number",b); …
greatest among four numbers C-Program Read More