Hello, all
Here i have shared you the way to find the greatest number among two numbers.
so here is the code
#include<stdio.h> void main(){ int a,b; printf("Enter Two Numbers"); scanf("%d%d",&a,&b); if(a>b){ printf("%d is grater than %d",a,b); }else{ printf("%d is grater than %d",b,a); } }
if you are happy with this post feel free to comment and share!
Thanks : CoderPradip