☑Kizspy. me 2 of 2
Paper No: 7
Enter the values 1 for 'a', -4 for 'b':
1
-4
OUTPUT:
2.00
-2.00
Press any key to continue. ..
Question 2:
(1 mark, file to be edited: Q2.c)
Users are required to enter two "integer" numbers: 'x' and 'y' using the keyboard (STDIN).
The system displays the greatest common divisor (GCD) of the two numbers.
Below is an example of how the program will run:
Enter the value 12 for 'x', 8 for 'y':
Zoom
+ 100%
12
8
OUTPUT:
4
Close