Solution for Exercise 9-5
ex0905
#include <stdio.h>
int main()
{
int duo;
for(duo=2;duo<=100;duo=duo+2)
{
printf("%d\t",duo);
}
putchar('\n');
return(0);
}
Notes
* The third part of a for statement doesn't always have to increment the counter variable by one.
Copyright © 1997-2025 by QPBC.
All rights reserved
