PRF192_-_PE01_-_FA_2024_2868.webp
Yami92

PRF192_-_PE01_-_FA_2024_2868.webp

  • Media owner Yami92
  • Ngày thêm
- Do not edit given statements in the main function.
Kizspy. mee output value is formatted in two decimal places
Sample input and output:
3 of 4 Paper No: 1
Input:
Enter n: 3
After processing: S(n) = (1/2+1/4+1/6)=0.92
Output for marking:
OUTPUT:0.92
Question 3:
(2 marks)
The given file Q3.c already contains statements to input data for the integer 1-D array and an integer variable named m. You will write statements that sort the array in ascending order then return the element at position m.
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:
Enter number of elements: 5 Arrav: 5 2 4 36
Zoom FUD
+ 100%
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRF192_-_PE01_-_FA_2024_2868.webp
File size
141.9 KB
Dimensions
1920px x 859px

Share this media

Back
Bên trên Bottom