Computer Science, asked by dhruvdabeast1515, 7 months ago

2. Write the below given program using for, while and do..while.
Try the programs on Bluej and copy into the document with proper heading. Program:
Write a program to print the following using loop. 111
248
3 9 27
4 16 64 5 25 125

Answers

Answered by Anonymous
1

Answer:

output:

1 1 1

2 4 8

3 9 27

4 16 64

5 25 125

Attachments:
Similar questions