PRF193_PE_SU25_B1_121891_3985.webp
Yuno_76

PRF193_PE_SU25_B1_121891_3985.webp

  • Media owner Yuno_76
  • Ngày thêm
☑Kizspy.me
4 of 4
Paper No: 7
Your program allows user to enter a square matrix of size n x n (with n>1).
The program prints the matrix and the sum of the elements on the main diagonal (from the top-left to
the bottom-right).
Below is an example of how the program will run.
For example, enter 3 for 'n" and elements of matrix: 123456789
Question 6:
Zoom
- FUO
+ 100%
3
1 2 3 4 5 6789
OUTPUT:
1 2 3
456
789
15
Press any key to continue ...
Close
Chưa có bình luận nào.

Thông tin

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

Share this media

Back
Bên trên Bottom