GREATER AMONG TWO VARIABLES

#include<stdio.h>
#include<conio.h>
void main()
{
 int n;
 clrscr();
 printf("\nEnter Number : ");
 scanf("%d",&n);
  if(n>0)
  {
   printf("\n%d is Greater",n);
  }
  else
  {
   printf("\n%d is Greater",n);
  }
 getch();

}
Output

No comments:

Post a Comment

Programmingway@Eklavya Technosys!: JTET 2026 | Computer Sections Solutions | Paper -II

Programmingway@Eklavya Technosys!: JTET 2026 | Computer Sections Solutions | Paper -II :   1) Which of the following is the extension of Not...