PRF192_-_PE_-_SU_2024_-_Block_5_-_s_4_2623.webp
T

PRF192_-_PE_-_SU_2024_-_Block_5_-_s_4_2623.webp

  • Media owner Tengen95
  • Ngày thêm
(rows > 0).
Program prints out the half pyramid of alphabets.
Below is an example of how the program will run.
For example, enter 6 for rows:
6
OUTPUT:
ABCDEF
GHIJK
LMNO
PQR
ST
U
Press any key to continue
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".
Zoom
+ 80%
Close
Chưa có bình luận nào.

Thông tin

Category
PRF192
Thêm bởi
Tengen95
Ngày thêm
Lượt xem
1,240
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_4_2623.webp
File size
52.8 KB
Dimensions
1920px x 803px

Share this media

Back
Bên trên Bottom