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

    


 

 

 

Description

Shows how to decrement values in a for statement.

Code


#include <stdio.h>


int main()
{
int count;
for(count = 10;count>=1 ;count--)
printf("%d.\n",count);
printf("BLAST OFF!!!.\n");
return 0;
}

Information

tested using LCC Win 32

 

 

 

 

Download

negativefor.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
Compare 2 strings(ASP)
dial a number(VB)
OS version(C++)
Display files in a directory(C Sharp)
Date/Time applet(VB)
celsius to fahrenheit conversion(C Sharp)
Get details of a file using FileVersionInfo(C Sharp)
free disk space using WMI(VBScript)

    




Copyright © 2003 by programmershelp.co.uk