photo_2_2023-11-04_13-47-24.jpg
vqtung2k4

photo_2_2023-11-04_13-47-24.jpg

Question paper (build 07.05.20.19)
(1 mark, file to be edited: Q1.c)
Users are required to enter two integer variables a and b using the keyboard (STDIN).
Please check the following conditions:
If a is greater than or equal to b then print: a>=b
If a is less than b then print: a<b
2 of 2
Paper No: 10
Below is an example of how the program will run:
Enter the value 1 for 'a' and the value 4 for 'b'
4
OUTPUT:a<b
Press any key to continue
Question 2:
(1 mark, file to be edited: Q2.c)
Users are required to enter a non-negative integer variables n using the keyboard (STDIN).The system displays the sum of the last three even numbers in range from 0 to n.
Below is an example of how the program will run:
Enter the value 6 for 'n'
OUTPUT:
12 Press any key to continue
FUO
Zoom
100%
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
photo_2_2023-11-04_13-47-24.webp
File size
175 KB
Dimensions
1280px x 960px

Share this media

Back
Bên trên Bottom