Main Menu

HOME

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

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

    


For Loop example
 

 

Description

a for loop example

Code

//program to display a for loop
#include<stdio.h>

int main(void)
{
int num;

printf(" n n cubed\n");
for(num=1;num<=10;num++)
printf("%5d %5d\n", num , num*num*num);
return 0;
}

Information

tested using visual C++ , LCC Win 32

 

 
 

 

Download

forloop1.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
absolute path of a file(VB)
box gradient(VB)
This program deletes a folder(VB)
display all programs installed in program Files(VBScript)
IP address logger(ASP)
display service info in a formatted word document(VBScript)
Create a text file(Powershell)
strip html tags from some text(php)

    




Copyright © 2003 by programmershelp.co.uk