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 ngao
OUTPUT:
Product 'ngao' not found Press any key to continue
Question 10:
(1 mark, file to be edited: Q10.c)
The program asks the user to enter two integers: Y and M, using the keyboard (STDIN). Where, Y and M are the values of the year and month respectively (Y > 0, 0 < M < 13).
Print the number of days in month M in year Y.
Below is an example:
Case 1: Enter Y = 2024, M = 2
Zoom
+ 100%
Close