Can’t Sleep? Need to count Horse,Sheep etc. to sleep. Here is my code for that kind of persons.

In C

#include”Stdio.h”

void main()

{

int count=0;

do{

count++;

}while (count!=Sleep);

printf(“\nI am Sleeping”);

}

 

In Visual Basic

Private Sub Form_Load()

while not sleep

txtCount.text=txtCount.text+1

wend

End Sub

Now to sleep just run any one of the above two programs.

Advertisements