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 = ___

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%
  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.

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 -
Transcribed Image Text: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 -
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY