This is my program
#include<stdio.h>
void main(main)
{
int first,second,third;
clrscr();
printf("Input first integer:");
scanf("%d",&first);
printf("Input second integer:");
scanf("%d",&second);
printf("Input third integer:");
scanf("%d",&third);
if(first>second)
if(second>third)
if(first>third)
printf("The number is ascending order:");
printf("%d,%d and %d");
getch();
}
This post has been edited by JackOfAllTrades: 12 January 2012 - 03:47 AM

New Topic/Question
Reply



MultiQuote








|