PRF192_-_PE02_-_SP_2025_3497.webp
T

PRF192_-_PE02_-_SP_2025_3497.webp

Kizspy.me 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 strings. If no matching
words are found, return the length of the strings.
Notes:
- You can create new functions if you see it is necessary.
-Do not edit given statements in the main function.
Sample input and output:
-Input:
apple google Apple
Output for marking:
OUTPUT:
2
-Input:
google chrome
Output for marking:
OUTPUT:
13
Zoom
+100%
Close
Chưa có bình luận nào.

Thông tin

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

Share this media

Back
Bên trên Bottom