Page 1 of 1

Question 7 0 pts We have a triangle made of blocks. The topmost row has 1 block, the next row down has 2 blocks, the nex

Posted: Thu May 05, 2022 12:50 pm
by answerhappygod
Question 7 0 Pts We Have A Triangle Made Of Blocks The Topmost Row Has 1 Block The Next Row Down Has 2 Blocks The Nex 1
Question 7 0 Pts We Have A Triangle Made Of Blocks The Topmost Row Has 1 Block The Next Row Down Has 2 Blocks The Nex 1 (24.93 KiB) Viewed 29 times
JAVA
Question 7 0 pts We have a triangle made of blocks. The topmost row has 1 block, the next row down has 2 blocks, the next row has 3 blocks, and so on. Compute recursively (no loops or multiplication) the total number of blocks in such a triangle with the given number of rows. . triangle(0) → 0 . triangle(1)→ 1 triangle(2)→ 3 Edit View Insert Format Tools Table 12pt Paragraph BIU T² Р 0 words