PRF192_-_PE_-_SU_2024_-_s_8_2159.webp
soft_wind

PRF192_-_PE_-_SU_2024_-_s_8_2159.webp

OUTPUT:0.48Press any key to continue
Question 2:
(1 mark, file to be edited: Q2.c)
The program requires the user to enter two integers m and n (m < n) from the keyboard.
If m > n, then swap the values of these two numbers.
Print the total values of the numbers from m to n.
Below is an example of how the program will run:
Enter m = 5, n = 10
5 10
OUTPUT:
45
Press any key to continue
Question 3:
(1 mark, file to be edited: Q3.c)
The program asks the user to enter any integer n from the keyboard.
Count and print the numbers in the range from 1 to 100 divisible by n.
If no number satisfies, print the string: "There is no number divisible by n"
Close
+ 100%
Zoom
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRF192_-_PE_-_SU_2024_-_s_8_2159.webp
File size
184.9 KB
Dimensions
1920px x 1051px

Share this media

Back
Bên trên Bottom