PRF192_-_FA_2024_-_PE_-_s_-_5_2869.webp
thanhphuong

PRF192_-_FA_2024_-_PE_-_s_-_5_2869.webp

Question 9:
(1 mark, file to be edited: Q9.c)
The program requires the user to enter a list of product names in a store. Each product name is separated by a space.
Continue entering the name of a product to search.
7 of 7
Paper No: 5
Count and print the number of products found in the store (the product name is not case-sensitive)Below are two examples of how the program will run:
Case 1: List of products = "Tom cuA ghe Oc Cua"; search = "CUA"
Tom cua ghe Oc Cua
CUA
OUTPUT:Product 'CUA' found 2 time(s)
Press any key to continue
Case 2: list of products = "Tom cuA ghe Oc Cua"; search = "ngao"
Tom cua ghe Oc Cua
100%
Zoom
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRF192_-_FA_2024_-_PE_-_s_-_5_2869.webp
File size
184.2 KB
Dimensions
1920px x 1051px

Share this media

Back
Bên trên Bottom