fixed
This commit is contained in:
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