Q4.Write a `while` loop to print the first 100 powers of 3, one on each line. The i-th line should have the value of 3i. The output has 100 lines in total. The first five lines look like this:
```
3
9
27
81
243
```
Save
Check
Details
Q4
23 Feb 2025
Q4.Write a `while` loop to print the first 100 powers of 3, one on each line. The i-th line should have the value of 3i. The output has 100 lines in total. The first five lines look like this:
```
3
9
27
81
243
```