fixed
This commit is contained in:
1 parent
6df1dd4949
commit
88e71cf67e
6 files changed
+10
-4
No files matched your search
Binary file not shown.
+8
-2
@@ -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