Skip to main content
14-Alexandrite
February 7, 2024
Solved

Simplify program using for loop

  • February 7, 2024
  • 1 reply
  • 3640 views

Hi Guys,

Can anybody to simplify this program?

I must run for “k” and “i” twenty times the block.

CarlosRomero

Best answer by LucMeekes

Hi Carlos,

 

should be as simple as embedding the two for loops in yet another for loop.

See if this is what you need.

 

Success!
Luc

1 reply

23-Emerald IV
February 7, 2024

Hi Carlos,

You should attach your Prime worksheet, not just a picture.

And state which version of Prime you are using.

 

Success!
Luc

LucMeekes23-Emerald IVAnswer
23-Emerald IV
February 7, 2024

Hi Carlos,

 

should be as simple as embedding the two for loops in yet another for loop.

See if this is what you need.

 

Success!
Luc