This commit is contained in:
2025-07-09 21:37:36 +09:00
parent 6df1dd4949
commit 88e71cf67e
6 changed files with 10 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 113 KiB

View File

@@ -12,7 +12,7 @@ date:
turnin:
year: 令和7年
month: 07月
day: 08
day: 09
school_name: 岐阜工業高等専門学校
department: 電子制御工学科

View File

@@ -5,7 +5,7 @@
\studentid{2024D14}
\seatingnum{15}
\reportdate{令和7年}{07月}{03日}
\turnindate{令和7年}{07月}{08}
\turnindate{令和7年}{07月}{09}
\schoolname{岐阜工業高等専門学校}
\department{電子制御工学科}
\subject{情報処理I}

Binary file not shown.

Binary file not shown.

View File

@@ -3,11 +3,17 @@
int main(void) {
int a, b, i, ans;
printf("Input upper limit: ");
printf("Input integer: ");
(void)scanf("%d", &a);
printf("Input lower limit: ");
printf("Input integer: ");
(void)scanf("%d", &b);
if (a < b) {
a = a^b;
b = a^b;
a = a^b;
}
i = b;
ans = 0;