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.

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;