difference between For loop and while
Answers
Answered by
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
0
Answer:
hello dear
the answer is in attachment
hope it helps you
Attachments:
Similar questions