Main Menu

HOME

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

Make money selling software. Check this out here

Hosted clickbank mall. Check this out here


Sedo - Buy and Sell Domain Names and Websites project info: programmershelp.co.uk Statistics for project programmershelp.co.uk etracker® web controlling instead of log file analysis

   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
Changing the case of a string(VB.net)
launch a website(Darkbasic)
basic addition example(Darkbasic)
Display the date a page last modified(PHP)
Play a sound using API(VB)
Tile an image(VB)
Read all lines in a file(ASP)
bytes to whatever(VB)

    




Copyright © 2003 by programmershelp.co.uk