PRF192_-_PE_-_SU_2023_281.webp
T

PRF192_-_PE_-_SU_2023_281.webp

  • Media owner Tsuyu89
  • Ngày thêm
Enter: n = 6; elements: 10, 9, 8, 5, 7, 3
6
10 9 8 5 7 3
OUTPUT:
9
7
5
3
10
8
Press any key to continue
Question 6:
(1 mark, file to be edited: Q6.c)
The program allows users to enter up to 100 characters from the keyboard.
Find and print the sum of the values of numeric characters (0-9) that are even numbers.
Below is an example:
Enter s = "He3llo2 everyone4!"
He311o2 everyone4!
OUTPUT:
6
Press any key to continue
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRF192_-_PE_-_SU_2023_281.webp
File size
40.2 KB
Dimensions
1536px x 793px

Share this media

Back
Bên trên Bottom