PRF192_-_PE_-_SU_2024_-_s_13_2162.webp
golden_swallow

PRF192_-_PE_-_SU_2024_-_s_13_2162.webp

Press any key to continue
Question 3:
(1 mark, file to be edited: Q3.c)
The program asks the user to enter two integers m and n (m<n) from the keyboard.
Count and print the number of even numbers and the number of odd numbers in the range from m to n.
The number of even numbers is printed first, and the number of odd numbers is printed later.
Here is an example of how the program will run:
Enter: m = 5, n = 25
3 of 3
Paper No: 13
5 25
Zoom
88%
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRF192_-_PE_-_SU_2024_-_s_13_2162.webp
File size
131.7 KB
Dimensions
1920px x 973px

Share this media

Back
Bên trên Bottom