Computer Science, asked by karmaendeavor123, 4 months ago

Nested loop pattern using java
if I input 4 then the pattern should be
16 15 14 13
9 10 11 12
8 7 6 5
1 2 3 4

then if I input 3 the pattern should be
9 10 11 12
8 7 6 5
1 2 3 4

Answers

Answered by sundaramt2803
0

Answer:

if the last three rows are same then why should the first row will change.

PLEASE MARK ME AS THE BRAINLIEST AND BECOME THE REASON FOR MY SMILE .


karmaendeavor123: It is a scanner if I input 5 then the pattern should be 17 18 19 20
16 15 14 13
9 10 11 12
8 7 6 5
1 2 3 4
Answered by srushtibotre2023
0

Explanation:

If the last three rows are same then why the last frist row is changed

Similar questions