home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
progm
/
ctutor2.zip
/
ANSWERS
/
CH06_1.C
< prev
next >
Wrap
Text File
|
1989-11-10
|
661b
|
31 lines
#define START 7
#define END -5
main()
{
int index;
for(index = START;index >= END;index = index - 1)
printf("The value of the count is now %2d\n",index);
}
/* Result of execution
The value of the count is now 7
The value of the count is now 6
The value of the count is now 5
The value of the count is now 4
The value of the count is now 3
The value of the count is now 2
The value of the count is now 1
The value of the count is now 0
The value of the count is now -1
The value of the count is now -2
The value of the count is now -3
The value of the count is now -4
The value of the count is now -5
*/