fixed
This commit is contained in:
BIN
assets/p42.png
BIN
assets/p42.png
Binary file not shown.
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 113 KiB |
@@ -12,7 +12,7 @@ date:
|
||||
turnin:
|
||||
year: 令和7年
|
||||
month: 07月
|
||||
day: 08日
|
||||
day: 09日
|
||||
|
||||
school_name: 岐阜工業高等専門学校
|
||||
department: 電子制御工学科
|
||||
|
||||
2
main.tex
2
main.tex
@@ -5,7 +5,7 @@
|
||||
\studentid{2024D14}
|
||||
\seatingnum{15}
|
||||
\reportdate{令和7年}{07月}{03日}
|
||||
\turnindate{令和7年}{07月}{08日}
|
||||
\turnindate{令和7年}{07月}{09日}
|
||||
\schoolname{岐阜工業高等専門学校}
|
||||
\department{電子制御工学科}
|
||||
\subject{情報処理I}
|
||||
|
||||
BIN
output/main.pdf
BIN
output/main.pdf
Binary file not shown.
Binary file not shown.
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user