Thursday, 23 October 2014

Write a program that execute it's statements after some interval?

Leave a Comment
/*  Programmed by http://cppexamples.blogspot.com
                   https://www.facebook.com/cppexamples
                   Simple and easy coding for beginners*/

#include<iostream>
#include<Windows.h>
using namespace std;
void main()
{
    cout<<"Hai"<<endl;
    Sleep( 2000 );
    cout<<"\tAlways"<<endl;
    Sleep( 3000 );
    cout<<"\t\tBe Happy"<<endl;
    system("pause");
}
If You Enjoyed This, Take 5 Seconds To Share It

0 Questions: