wrote most of report
This commit is contained in:
6
programs/demo.c
Normal file
6
programs/demo.c
Normal file
@@ -0,0 +1,6 @@
|
||||
void main(void) {
|
||||
int a;
|
||||
a = 255;
|
||||
|
||||
return;
|
||||
}
|
||||
6
programs/prog1.c
Normal file
6
programs/prog1.c
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("C言語");
|
||||
return 0;
|
||||
}
|
||||
9
programs/prog2.c
Normal file
9
programs/prog2.c
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("C\n");
|
||||
printf("言\n");
|
||||
printf("語\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
10
programs/prog3.c
Normal file
10
programs/prog3.c
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("情\n");
|
||||
printf(" 報\n");
|
||||
printf(" 処\n");
|
||||
printf(" 理\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
11
programs/prog4.c
Normal file
11
programs/prog4.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
int y = 2007;
|
||||
int m = 8;
|
||||
int d = 7;
|
||||
|
||||
printf("柴田健琉の生年月日の和は%dです。\n", y+m+d);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user