Chapter4
This commit is contained in:
22
DeitelC/Chapter4/example4-7.c
Normal file
22
DeitelC/Chapter4/example4-7.c
Normal file
@ -0,0 +1,22 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
for(int x = 1; x <= 13; x += 2) {
|
||||
printf("%d\t",x);
|
||||
}
|
||||
puts("");
|
||||
for(int x = 2; x <= 17; x += 3) {
|
||||
printf("%d\t",x);
|
||||
}
|
||||
puts("");
|
||||
for(int x = 30; x >= -30; x -= 10) {
|
||||
printf("%d\t",x);
|
||||
}
|
||||
puts("");
|
||||
for(int x = 15; x <= 55; x += 8) {
|
||||
printf("%d\t",x);
|
||||
}
|
||||
puts("");
|
||||
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user