21 lines
226 B
C
21 lines
226 B
C
#include <stdio.h>
|
|
|
|
int main(){
|
|
printf("Hello, World\n");
|
|
int x = 40;
|
|
int y = 50;
|
|
int i,z = 0;
|
|
|
|
for ( i = 0; i < 5; i++ ){
|
|
int temp = x;
|
|
x = y;
|
|
z = temp + x + z;
|
|
y = temp;
|
|
|
|
printf("%d\n", z);
|
|
}
|
|
|
|
|
|
return 0;
|
|
}
|