PRF192_-_PE_-_SU_2024_-_Block_5_-_s_7_2622.webp
H

PRF192_-_PE_-_SU_2024_-_Block_5_-_s_7_2622.webp

Question 5:
(1 mark, file to be edited: Q5.c)
Your program allows users to enter an array of 'n' integers, where 'n' is entered by the user (n > 0).
Program prints out the sum of all odd numbers. If there are no odd numbers in the array, print "Thereare no odd numbers in n elements".
4 of 4
Paper No: 7
Below is an example:
6 9 3 2 7 46
OUTPUT:
19
Press any key to continue

Close
+ 100%
Zoom
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRF192_-_PE_-_SU_2024_-_Block_5_-_s_7_2622.webp
File size
55 KB
Dimensions
1920px x 803px

Share this media

Back
Bên trên Bottom