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
1
Answer:
output:
1 1 1
2 4 8
3 9 27
4 16 64
5 25 125
Attachments:
Similar questions
English,
5 months ago
India Languages,
5 months ago
Science,
10 months ago
Science,
10 months ago
Chemistry,
1 year ago
Science,
1 year ago
Computer Science,
1 year ago