Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript Site
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc

   Amazon

   Links

    


Do / While example
 

 

Description

an example of a do / while example .

Code

//do while example

#include<stdio.h>

int main(void)
{

const int SECRET_CODE = 15;
int code;

do{
printf("Type the secret code number to enter.\n");
scanf("%d", &code);
}while(code!=SECRET_CODE);
printf("Well done , you can now enter\n");

return 0;
}

Information

tested using Visual C++ 6

 

 
 

 

Download

dowhile1.txt


 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
Move a folder(ASP)
list service in a listbox(VB.net)
Launch new hardware wizard(VB)
factorial function(VB)
multi status bar messages(Javascript)
Play an MP3 file(VB.net)
Copy a file(VB)
highlighting source code(php)

    




Copyright © 2003 by programmershelp.co.uk