Computer Science, asked by jitendranayak17382, 2 months ago

difference between For loop and while ​

Answers

Answered by hussainhussian
0

Answer:

Use a for loop when you know the loop should execute n times. Use a while loop for reading a file into a variable. Use a while loop when asking for user input. Use a while loop when the increment value is nonstandard.

Hope the provided information was helpful to you.

Explanation:

Mark me as brainliest.

Answered by patiyalaprincess770
0

Answer:

hello dear

the answer is in attachment

hope it helps you

Attachments:
Similar questions