PRF192_-_SP_2025_-_DN_-_PE_3480.webp
G

PRF192_-_SP_2025_-_DN_-_PE_3480.webp

ss any key to continue...
Kizspy.me
Question 7:
(1 mark, file to be edited: Q7.c)
Users are required to enter two integer numbers: 'a', 'b' and 'c' using the keyboard (STDIN).
The C program finds the largest number among three integers using a dedicated function.
-The function maxOfThree (int a, int b, int c) is used to determine the maximum
of the three integers.
- In the main() function, the program prompts the user to input three integers.
-The maxOf Three () function is called to find the largest number, and the result is displayed on
the screen.
Enter the value 5 for 'a', 88 for 'b' and 4 for 'c'
Input
5
88
4
Output
88
Press any key to continue.
5 of 5
Paper No: 7
Zoom
Question 8:
+100%
Close
Chưa có bình luận nào.

Thông tin

Category
PRF192
Thêm bởi
green_tea
Ngày thêm
Lượt xem
856
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom