1- Write a program using for loop to find the square of numbers from 1-10. Hint: The operator for square is ** Sample Output: number square 112439416 5 25 6 36 7 49 8 64 9 81 10 100 2- Write a program using for loop to find the total sum of numbers 1 - 20. Use accumulation concept.
1- Write a program using for loop to find the square of numbers from 1-10. Hint: The operator for square is ** Sample Output: number square 112439416 5 25 6 36 7 49 8 64 9 81 10 100 2- Write a program using for loop to find the total sum of numbers 1 - 20. Use accumulation concept.
Chapter5: Looping
Section: Chapter Questions
Problem 6RQ
Related questions
Question
Please add explanation and algorithm please do fast
![1- Write a program using for loop to find the square of numbers from 1-10. Hint: The operator for square is ** Sample Output: number square
112439416 5 25 6 36 7 49 8 64 9 81 10 100 2- Write a program using for loop to find the total sum of numbers 1 - 20.
Use accumulation concept.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F562d12f1-caba-42a7-91eb-13728fddf8b2%2F14d42af7-9a88-4390-9027-41b905b50964%2F5tp29u_processed.jpeg&w=3840&q=75)
Transcribed Image Text:1- Write a program using for loop to find the square of numbers from 1-10. Hint: The operator for square is ** Sample Output: number square
112439416 5 25 6 36 7 49 8 64 9 81 10 100 2- Write a program using for loop to find the total sum of numbers 1 - 20.
Use accumulation concept.
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning