Write just the loop (header and body) for these programs. A perfect square us a
ID: 3544279 • Letter: W
Question
Write just the loop (header and body) for these programs.
A perfect square us a number that is the square of another integer: 1, 4, 9 and 16 are examples of perfect squares.
1. Using a Do While loop, display all the numbers between 1 and 100 that are perfect squares.
2. Using a For ... Next loop, display all the numbers between 1 and 100 that are perfect squares.
Solution: 1, 4, 9, 16, 25, 36, 49, 64, 81, 100
NOTE: A FIVE STAR RATING WILL ONLY BE GIVEN TO AN ANSWER THAT RETURNS NO ERRORS WHEN PUT INTO VISUAL BASIC
A perfect square us a number that is the square of another integer: 1, 4, 9 and 16 are examples of perfect squares. Using a Do While loop, display all the numbers between 1 and 100 that are perfect squares. Using a For ... Next loop, display all the numbers between 1 and 100 that are perfect squares. Solution: 1, 4, 9, 16, 25, 36, 49, 64, 81, 100 NOTE: A FIVE STAR RATING WILL ONLY BE GIVEN TO AN ANSWER THAT RETURNS NO ERRORS WHEN PUT INTO VISUAL BASICExplanation / Answer
Well just in case you not satisfied with above answer try this .. do while & for look at a time
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.