Thursday 18 July 2013


#include "stdafx.h"
#include "conio.h"
#include "iostream"
#include "stdio.h"

using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
int max,min;
int c;
cout<<"enter maximum";
cin>>max;
cout<<"enter minimum";
cin>>min;
c=max;
while(c>=min)
{
cout<<c<<endl;
c--;
}
getch();
}

0 comments :

Post a Comment