resubmission
This commit is contained in:
BIN
assets/a1.png
BIN
assets/a1.png
Binary file not shown.
|
Before Width: | Height: | Size: 700 KiB After Width: | Height: | Size: 87 KiB |
@@ -12,7 +12,7 @@ date:
|
|||||||
turnin:
|
turnin:
|
||||||
year: 令和7年
|
year: 令和7年
|
||||||
month: 06月
|
month: 06月
|
||||||
day: 26日
|
day: 30日
|
||||||
|
|
||||||
school_name: 岐阜工業高等専門学校
|
school_name: 岐阜工業高等専門学校
|
||||||
department: 電子制御工学科
|
department: 電子制御工学科
|
||||||
|
|||||||
2
main.tex
2
main.tex
@@ -5,7 +5,7 @@
|
|||||||
\studentid{2024D14}
|
\studentid{2024D14}
|
||||||
\seatingnum{15}
|
\seatingnum{15}
|
||||||
\reportdate{令和7年}{06月}{26日}
|
\reportdate{令和7年}{06月}{26日}
|
||||||
\turnindate{令和7年}{06月}{26日}
|
\turnindate{令和7年}{06月}{30日}
|
||||||
\schoolname{岐阜工業高等専門学校}
|
\schoolname{岐阜工業高等専門学校}
|
||||||
\department{電子制御工学科}
|
\department{電子制御工学科}
|
||||||
\subject{情報処理I}
|
\subject{情報処理I}
|
||||||
|
|||||||
Binary file not shown.
BIN
output/main.pdf
BIN
output/main.pdf
Binary file not shown.
BIN
programs/a1/main
BIN
programs/a1/main
Binary file not shown.
@@ -6,7 +6,7 @@ int main(void) {
|
|||||||
printf("Input integer: ");
|
printf("Input integer: ");
|
||||||
scanf("%d", &n);
|
scanf("%d", &n);
|
||||||
|
|
||||||
if (n <= 10 && n > 0) {
|
if (n < 10 && n > 0) {
|
||||||
printf("%d is one digit natural number.\n", n);
|
printf("%d is one digit natural number.\n", n);
|
||||||
} else {
|
} else {
|
||||||
printf("%d is not one digit natural number.\n", n);
|
printf("%d is not one digit natural number.\n", n);
|
||||||
|
|||||||
Reference in New Issue
Block a user