Computer Science, asked by keerthika3714, 6 months ago

John likes to play with numbers. He is playing a game where he writes numbers starting 1 till N in multiple rows, intially he chooses a number W and he writes in each row except probably in the last row when he is done writing till number N. Given N and W and any row or column in this arrangement, print the sum of all the numbers in this row or column.

Answers

Answered by gauravstudent2005
1

I literally don't know about John

Similar questions