PRF192_-_SP_2024_-_PE06_1886.webp
H

PRF192_-_SP_2024_-_PE06_1886.webp

Question 4:
(3 marks)
The given file Q4.c already contains statements to enter a string named s. You should write statements to count the number of words starting with letter 'a' or 'A' in the string s.
Notes:
- You can create new function(s) if you see it is necessary.
- Do not edit given statements in the main function.
Sample input and output:
-Input: Anh hoa an tuong
Output for marking:
OUTPUT:
2
-Input: hom nay toi di hoc
Output for marking:
4 of 4
Paper No: 1
OUTPUT:
Zoom

+ 88%
Close

Chưa có bình luận nào.

Thông tin

Category
PRF192
Thêm bởi
Hạnh Phúc
Ngày thêm
Lượt xem
1,613
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRF192_-_SP_2024_-_PE06_1886.webp
File size
101.6 KB
Dimensions
1920px x 813px

Share this media

Back
Bên trên Bottom