PRF192_-_PE02_-_FA_2024_3198.webp
ThuyHoa2000

PRF192_-_PE02_-_FA_2024_3198.webp

Question 4:
(3 marks)
The given file Q4.c already contains statements to input data for two strings: sand k. You should write statements to count the times of k in string s. (Hints: All strings have removed extra spaces and converted to lowercase)
Notes:
- Do not edit given statements in the main function.
- You can create new functions if you see it is necessary.
Sample input and output:
-Input:
Please enter strings: Practice Exam PRF192
Please enter string k: Pr
Output for marking:
4 of 4
Paper No: 1
+ 100%
Zoom
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRF192_-_PE02_-_FA_2024_3198.webp
File size
141.7 KB
Dimensions
1920px x 990px

Share this media

Back
Bên trên Bottom