#include <iostream>
#include <conio.h>
using namespace std;
main()
{
int a,b;
b=50;
cout<<"enter a value less than 50: ";
cin>>a;
do
{
cout<<"A number: "<<a<<endl;
a++;
Sleep(100);
}
while (a<=b);
getch();
return 0;
}
burcin erek 0
Junior Poster in Training
Recommended Answers
Jump to Postwhat does not work means?
It is very general term. Please say exactly what does not work. Errors, et al
All 4 Replies
Stefano Mtangoo 455
Senior Poster
LevyDee 2
Posting Whiz in Training
burcin erek 0
Junior Poster in Training
Stefano Mtangoo 455
Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.