Respectd sir,
I want a programm to display the countdown.Below i hv written a program to print numbers from 10 to 0.I want it to be displayed in the count down format.
MODIFY THE BELOW PROGRAM IN THE COUNTDOWN FORMAT.
#include<iostream.h>
#include<conio.h>
void main()
{
int i;
clrscr();
for(i=10;i<11;i--)
{
cout<<i;
}
getch();
}
1
Expert's answer
2012-11-01T12:22:01-0400
#include <conio.h> #include <iostream> using namespace std;
Comments
Leave a comment