PRF192_-_PE_-_SU_2023_-_1_HCM_Slot_1_278.webp
Thanh Tú1

PRF192_-_PE_-_SU_2023_-_1_HCM_Slot_1_278.webp

3 of 3 Paper No: 1
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: n = 5 Array: 13858 x = 8 After processing: 1 3 0 5 0
Output for marking:OUTPUT:1 3 0 5 0
Question 4:
(3 marks)
The given file Q4.c already contains statements to input data for a string. You should write statements to convert the string to lowercase then print the reversed string.
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:Enter a string:PRF192
Enter a string: Test String
-Input:Enter a string:98765
Output for marking:
OUTPUT:291frp
-Input:
Output for marking:
Output for marking:
OUTPUT:
gnirts tset
OUTPUT:56789
Zoom
+ 80%
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRF192_-_PE_-_SU_2023_-_1_HCM_Slot_1_278.webp
File size
54.2 KB
Dimensions
1920px x 1009px

Share this media

Back
Bên trên Bottom