PRF192_-_PE_-_SU_2024_-_s_2_2164.webp
Ogi91

PRF192_-_PE_-_SU_2024_-_s_2_2164.webp

  • Media owner Ogi91
  • Ngày thêm
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: 2
5 25
OUTPUT:
10 11
conti
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRF192_-_PE_-_SU_2024_-_s_2_2164.webp
File size
134.9 KB
Dimensions
1920px x 991px

Share this media

Back
Bên trên Bottom