. Rewrite the program and convert for loop to while loop.
for (int p=7;p<=80;p++)
{
System.out.print("Welcome");
p=p+3;
}
Answers
Answered by
0
Explanation:
while Loop
What if someone asks you to print 'Hello World' 10 times?
One way is to write the printf statement 10 times. But that is definitely not a good choice if you have to write it 50 times!
So, here comes the while loop.
Answered by
2
Answer:
jab koi 1000 question ka answer deta hai tab hi inbox power milta hai.
Similar questions
CBSE BOARD X,
5 months ago
Math,
5 months ago
Science,
5 months ago
Math,
10 months ago
Math,
1 year ago