Microsoft Visual C#
Microsoft Visual C#
7th Edition
ISBN: 9781337102100
Author: Joyce, Farrell.
Publisher: Cengage Learning,
Bartleby Related Questions Icon

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.
expand button
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
Check Mark
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning