A program will ask the user to enter integer numbers six (6) times. After getting those input numbers, the program will produce the sum of all the ones, tens and hundreds of all the input numbers. Create a program that satisfies the said events. Sample output: Enter Six Integers: 51 1282 2236 229 120 17 Sum of all Ones: 1 + 2 + 6 + 9 + 0 + 7 = ___ Sum of all Tens: 5 + 8 + 3 + 2 + 2 + 1 = ___ Sum of all Hundreds: 0 + 2 + 2 + 2 + 1 + 0 = ___
- A
program will ask the user to enter integer numbers six (6) times. After getting those input numbers, the program will produce the sum of all the ones, tens and hundreds of all the input numbers. Create a program that satisfies the said events.
Sample output:
Enter Six Integers: 51 1282 2236 229 120 17
Sum of all Ones: 1 + 2 + 6 + 9 + 0 + 7 = ___
Sum of all Tens: 5 + 8 + 3 + 2 + 2 + 1 = ___
Sum of all Hundreds: 0 + 2 + 2 + 2 + 1 + 0 = ___
2. A rectangle is 4 times as long as it is wide. If the length is increased by 4 inches and the width is decreased by 1 inch, the area will be X_AREA square inches. If X_AREA is entered by the user, create a program that will determine what were the dimensions (length and width) of the original rectangle?
3.There are b boys in the class. This is three more than four times the number of girls. If the number of boys in the class is entered by the user, create a program that will identify how many girls and total population in the class.
![Home Insert Page Layout References Review View Section Tools
Q Click to f.
Menu v
- A A Q ,
-= = A 21 AaBbccDd AaBb
Calibri
10
D Format
BI U-A- x² X2 A- alz - A- A
New Style
Paste
Normal
Heading 1
Text Tools
Painter
College of Information Technology Education
Computer Science Department
ITE 001 Computer Programming 1
-Practice lesson l-
The following activity supports the attainment of these outcomes:
1. Apply appropriate computing, science, and mathematics theories and principles as
applied in computer programming using C/C++ language;
2. Analyze machine problem and identify and define computer programming
requirements appropriate to its solution using C/C++ language;
3. Use standard techniques, skills, and tools in computer programming practice using
C/C++ language;
4. Design and develop a computer program using C/C++ language; and.
1. A program will ask the user to enter integer numbers six (6) times. After getting
those input numbers, the program will produce the sum of all the ones, tens and
hundreds of all the input numbers. Create a program that satisfies the said events.
Sample output:
Enter Six Integers: 51 1282 2236 229 120 17
Sum of all Ones:1+ 2+ 6 + 9 + 0+ 7=_
Sum of all Tens:5 + 8 +3 + 2 + 2+1 =
Sum of all Hundreds: 0 + 2 +2+2 +1+0 =.
2. A rectangle is 4 times as long as it is wide. If the length is increased by 4 inches
and the width is decreased by 1 inch, the area will be X_AREA square inches. If
X_AREA is entered by the user, create a program that will determine what were the
dimensions (length and width) of the original rectangle?
3. There are b boys in the class. This is three more than four times the number of girls.
If the number of boys in the class is entered by the user, create a program that will
identify how many girls and total population in the class
Activate Windows
Go to Settings to activate Windoves. ***
Paye Num: 1
Paye: 1/1
Secliur: 1/1
SelValue: 5.2in
Ruw: 23
Culumn: 1
Wurds: 298
9076 -](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F04bfbaad-6701-46a3-aa38-d550cd705f3a%2F7ea34d5d-689a-4b3d-812c-ba108e191342%2Fz5a8pke_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)