Computer Science, asked by gokuljessi7, 6 months ago


Write an appropriate foror while loop for the situations described below:-
a) A loop is to be repeated 15 times.​

Answers

Answered by mrinmoychakraborty11
0

Answer:

15times

Explanation:

int x,i;

x=15;

for(i=0;i<=x;i++)

{println (" hi");

}

system.out.println("");

Answered by valeriy69
0

\small\mathsf\color{pink}{Solution\: using\: python\: 3}

for x in range(15):

print(x)

\small\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions