Free Essay

Home Work 3

In:

Submitted By dkings
Words 640
Pages 3
Problem Analysis
In order to calculate and display the results for the multiplication table for values ranging from 1 to 100 we need variables. The variables are: Horizontal Line Number (HLnNumber) that will be the outer loop and Vertical Line Number (VLnNumber) that will be the inner loop this two variable will also be used for a repetition loop to perform the calculation for the multiplication.
For the loop to be able to operate it has to be executed 10 steps. In order to find total calculation for the multiplication we can used the fallowing formula: HLnNumber * VLnNumber = this will be the result of the multiplication. Let say that HLnNumber = 5 and VLnNumber = 7, so this is how the formula would look like: 5*7=30. Also in the loop the variables, HLnNumber and VLnNumber, has to be incremented or decremented by 1.

This is how the output will look like:
1 2 3 4 5 6 7 8 9 10
2 4 6 8 10 12 14 16 18 20
3 6 9 12 15 18 21 24 27 30
4 8 12 16 20 24 28 32 36 40
5 10 15 20 25 30 35 40 45 50
6 12 18 24 30 36 42 48 54 60
7 14 21 28 35 42 49 56 63 70
8 16 24 32 40 48 56 64 72 80
9 18 27 36 45 54 63 72 81 90
10 20 30 40 50 60 70 80 90 100

Program Design and Documentation
Fundamental Task * Input variable HLnNumber, VLnNumber, Multiplication * If increment or decrement set by 1 * Display final calculation for multiplication
Hierarchy Chart

// Declare the variables
Delcare Multiplication As Float
Declare HLnNumber As Float
Declare VLnNumber As Float
Display Calculate your Multiplication
// Get the value for the multiplications
Write “Please use a real number between 1 to 100”
Input HLnNumber
Input VLnNumber
// Calculate the Multiplication of Vertical Row and Horizontal Row
Set Multiplication = HLnNumber * VLnNumber // Call the Moduele
Call HLnNumber Module
Call VLnNumber Module
Call DisplayCalculation
// Result
Write “Your Multiplication result is ”
End Program

HLnNumber Module
// Declare variable module
Declare HLnNumber As Integer
// Value of the positive integer
Write “Enter a positive integer”
Input HLnNumber
For (HLnNumber = 1; HLnNumber <= Multiplication; HLnNumber + +) Write HLnNumber
End For
End Module

VLnNumber Module
// Declare variable module
Declare VLnNumber As Integer
// Value of the positive integer
Write “Enter a positive integer”
Input VLnNumber
For (VLnNumber = 1; VLnNumber <= Multiplication; VLnNumber + +) Write VLnNumber
End For
End Module

DiplayCalculation Module
// Display Calculation variable
Declare Multiplication As Float
Set HLnNumber < 10
Set VLnNumber < 10
Set Multiplication = HLnNumber * VLnNumber
Write “Your Total Calculation for you multiplication is ”
End Module

Flow Chart
Enter
Enter

Declare HLnNumber As Integer
Declare VLnNumber As Integer
Declare Multiplication As Float
Declare HLnNumber As Integer
Declare VLnNumber As Integer
Declare Multiplication As Float

Set HLnNumber = 1
Set VLnNumber = 1

Set HLnNumber = 1
Set VLnNumber = 1

Is HLnNumber, VLnNumber <=10?
Is HLnNumber, VLnNumber <=10?

Write “Please use a real number between 1 to 100”
Input Multiplication
Write “Please use a real number between 1 to 100”
Input Multiplication

No

No

Yes

Yes

Is Multiplication != Int(Multiplication)?
Is Multiplication != Int(Multiplication)? Exit
Exit
Write “Your Total Calculation for you multiplication is:”
Write “Your Total Calculation for you multiplication is:”
Set HLnNumber != (> 10)
Set VLnNumber != (> 10)
Set HLnNumber != (> 10)
Set VLnNumber != (> 10)
Write “Skip a Line”
Write “Skip a Line”
Set Multiplication = HLnNumber * VLnNumber
Set Multiplication = HLnNumber * VLnNumber

Sample Test Data

HLnNumber | VLnNumber | Multiplication | Total | 9 | 5 | 9*5 | 45 | 5 | 6 | 5*6 | 30 | 2 | 4 | 2*4 | 8 | 3 | 2 | 3*2 | 6 | 1 | 10 | 1*10 | 10 | 4 | 3 | 4*3 | 12 | 6 | 8 | 6*8 | 48 | 7 | 1 | 7*1 | 7 | 8 | 9 | 8*9 | 72 | 10 | 7 | 10*7 | 70 |

Similar Documents

Premium Essay

Law 310 Week 3 Home Work

...Eric Stone Week 3 Law 310 state the primary legal issues raised by hydraulic fracturing Although the national study should enhance our scientific knowledge, some concerns associated with overall natural gas and shale gas extraction, including hydraulic fracturing, are already well known. These operations can result in a number of potential impacts to the environment, including: Stress on surface water and ground water fracturing; Contamination of underground sources of drinking water and surface waters resulting from spills, faulty well construction, or by other means;Adverse impacts from discharges into surface waters or from disposal into underground injection wells; andAir pollution resulting from the release of volatile organic compounds, hazardous air pollutants, and greenhouse gases. State the primary environmental issues raised by hydraulic fracturing; •Water Use — Hydraulic fracturing wells require the use of considerably higher volumes of water than do traditional gas wells. In the Antrim Shale formation in Michigan, a traditional gas well requires a one-time use of 50,000 gallons of water. It is estimated that a horizontally drilled, hydraulically fractured well requires a one-time use of 5 million gallons of water •Contaminated Water Management — Flowback water typically contains small concentrations of chemicals used in the hydraulic fracturing process as well as naturally occurring salts and in some cases very small quantities of naturally occurring...

Words: 439 - Pages: 2

Premium Essay

Ese 315 Week 3 Survey of Exceptional Students

...ESE 315 WEEK 3 SURVEY OF EXCEPTIONAL STUDENTS To purchase this, Click here http://www.activitymode.com/product/ese-315-week-3-survey-of-exceptional-students/ Contact us at: SUPPORT@ACTIVITYMODE.COM ESE 315 WEEK 3 SURVEY OF EXCEPTIONAL STUDENTS ASSIGNMENT AND PPT PRESENTATION Attention Deficit Hyperactivity Disorder ESE 315 Week 3 aims to provide the Steps to follow when a parent of a child without an ADHD diagnosis is seeking a diagnosis: How to keep parents involved in their child’s learning once the child has been diagnosed by a physician, psychologist, or neuropsychologist: How students are specifically accommodated through the functional organization of the classroom: How students are supported in the delivery of instruction? The importance of a schedule (including how breaks are provided for a child with ADHD): How children with ADHD are encouraged to participate in lessons: A sample of how children are assisted with self-monitoring (e.g. a behavior checklist): A specific example of a brain-based learning strategy that can be used in the classroom: A discussion of information that is used to help students at home (e.g. assignment agenda): Course Home Work, ESE 315 Week 3 Survey, Home Work Tutorials, Home Work Solutions, Home Work Essay, Home Work Questions. Course Home Work is a not for profit organization that aims to provide quality study notes to the students in order to ace their studies. ESE 315 WEEK 3 SURVEY OF EXCEPTIONAL STUDENTS To purchase...

Words: 697 - Pages: 3

Free Essay

Acc 290 Week 3 Individual Wileyplus Assignment

...ACC 290 WEEK 3 INDIVIDUAL WILEYPLUS ASSIGNMENT To purchase this visit here: http://www.nerdypupil.com/product/acc-290-week-3-individual-wileyplus-assignment/ Contact us at: nerdypupil@gmail.com ACC 290 WEEK 3 INDIVIDUAL WILEYPLUS ASSIGNMENT Complete the following in WileyPLUS: Brief Exercise BE4-1, Problem P4-2A, and Problem P4-3A Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 290 Week 3 Individual WileyPLUS Assignment in order to ace their studies. ACC 290 WEEK 3 INDIVIDUAL WILEYPLUS ASSIGNMENT To purchase this visit here: http://www.nerdypupil.com/product/acc-290-week-3-individual-wileyplus-assignment/ Contact us at: nerdypupil@gmail.com ACC 290 WEEK 3 INDIVIDUAL WILEYPLUS ASSIGNMENT Complete the following in WileyPLUS: Brief Exercise BE4-1, Problem P4-2A, and Problem P4-3A Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 290 Week 3 Individual WileyPLUS Assignment in order to ace their studies. ACC 290 WEEK 3 INDIVIDUAL WILEYPLUS ASSIGNMENT To purchase this visit here: http://www.nerdypupil.com/product/acc-290-week-3-individual-wileyplus-assignment/ Contact us at: nerdypupil@gmail.com ACC 290 WEEK 3 INDIVIDUAL WILEYPLUS ASSIGNMENT Complete the following in WileyPLUS: Brief Exercise BE4-1, Problem P4-2A, and Problem P4-3A Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 290 Week 3 Individual WileyPLUS Assignment in order to ace...

Words: 730 - Pages: 3

Free Essay

Acc 363 Week 1 Dq 3

...WEEK 1 DQ 3 To purchase this visit here: http://www.nerdypupil.com/product/acc-363-week-1-dq-3/ Contact us at: nerdypupil@gmail.com ACC 363 WEEK 1 DQ 3 What is the purpose of a subsidiary ledger? How are subsidiary ledgers used in journalizing entries? Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 363 Week 1 DQ 3 in order to ace their studies. ACC 363 WEEK 1 DQ 3 To purchase this visit here: http://www.nerdypupil.com/product/acc-363-week-1-dq-3/ Contact us at: nerdypupil@gmail.com ACC 363 WEEK 1 DQ 3 What is the purpose of a subsidiary ledger? How are subsidiary ledgers used in journalizing entries? Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 363 Week 1 DQ 3 in order to ace their studies. ACC 363 WEEK 1 DQ 3 To purchase this visit here: http://www.nerdypupil.com/product/acc-363-week-1-dq-3/ Contact us at: nerdypupil@gmail.com ACC 363 WEEK 1 DQ 3 What is the purpose of a subsidiary ledger? How are subsidiary ledgers used in journalizing entries? Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 363 Week 1 DQ 3 in order to ace their studies. ACC 363 WEEK 1 DQ 3 To purchase this visit here: http://www.nerdypupil.com/product/acc-363-week-1-dq-3/ Contact us at: nerdypupil@gmail.com ACC 363 WEEK 1 DQ 3 What is the purpose of a subsidiary ledger? How are subsidiary ledgers used in journalizing entries? Home Work Hour aims...

Words: 540 - Pages: 3

Free Essay

Acc 363 Week 4 Dq 3

...ACC 363 WEEK 4 DQ 3 To purchase this visit here: http://www.nerdypupil.com/product/acc-363-week-4-dq-3/ Contact us at: nerdypupil@gmail.com ACC 363 WEEK 4 DQ 3 What are the differences between the direct and indirect presentation of cash flows? Why does the FASB allow both methods? Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 363 Week 4 DQ 3 in order to ace their studies. ACC 363 WEEK 4 DQ 3 To purchase this visit here: http://www.nerdypupil.com/product/acc-363-week-4-dq-3/ Contact us at: nerdypupil@gmail.com ACC 363 WEEK 4 DQ 3 What are the differences between the direct and indirect presentation of cash flows? Why does the FASB allow both methods? Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 363 Week 4 DQ 3 in order to ace their studies. ACC 363 WEEK 4 DQ 3 To purchase this visit here: http://www.nerdypupil.com/product/acc-363-week-4-dq-3/ Contact us at: nerdypupil@gmail.com ACC 363 WEEK 4 DQ 3 What are the differences between the direct and indirect presentation of cash flows? Why does the FASB allow both methods? Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 363 Week 4 DQ 3 in order to ace their studies. ACC 363 WEEK 4 DQ 3 To purchase this visit here: http://www.nerdypupil.com/product/acc-363-week-4-dq-3/ Contact us at: nerdypupil@gmail.com ACC 363 WEEK 4 DQ 3 What are the differences between the direct and...

Words: 649 - Pages: 3

Free Essay

Acc 305 Week 3 P7-10, P7-14 Ash Course

...ACC 305 WEEK 3 P7-10, P7-14 ASH COURSE To purchase this visit here: http://www.nerdypupil.com/product/acc-305-week-3-p7-10-p7-14-ash-course/ Contact us at: nerdypupil@gmail.com ACC 305 WEEK 3 P7-10, P7-14 ASH COURSE ACC 305 Week 3 P7-10, P7-14 Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 305 Week 3 P7-10, P7-14 Ash Course in order to ace their studies. ACC 305 WEEK 3 P7-10, P7-14 ASH COURSE To purchase this visit here: http://www.nerdypupil.com/product/acc-305-week-3-p7-10-p7-14-ash-course/ Contact us at: nerdypupil@gmail.com ACC 305 WEEK 3 P7-10, P7-14 ASH COURSE ACC 305 Week 3 P7-10, P7-14 Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 305 Week 3 P7-10, P7-14 Ash Course in order to ace their studies. ACC 305 WEEK 3 P7-10, P7-14 ASH COURSE To purchase this visit here: http://www.nerdypupil.com/product/acc-305-week-3-p7-10-p7-14-ash-course/ Contact us at: nerdypupil@gmail.com ACC 305 WEEK 3 P7-10, P7-14 ASH COURSE ACC 305 Week 3 P7-10, P7-14 Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 305 Week 3 P7-10, P7-14 Ash Course in order to ace their studies. ACC 305 WEEK 3 P7-10, P7-14 ASH COURSE To purchase this visit here: http://www.nerdypupil.com/product/acc-305-week-3-p7-10-p7-14-ash-course/ Contact us at: nerdypupil@gmail.com ACC 305 WEEK 3 P7-10, P7-14 ASH COURSE ACC 305 Week 3 P7-10, P7-14 Home Work Hour aims to...

Words: 681 - Pages: 3

Premium Essay

Long Dy

...week to week depending on my work schedule) Monday 7:05am daughters wake me up to take them to school 7:15am-7:25am dropping them off to school and driving on the way back home 7:40am tidying up the living room and kitchen area once I am done fall asleep in the living while watching espn news 8:05-2:20pm still sleeping 2:22pm my girls come from school fixing lunch before going to work 3:00pm- 100am (sometime I work overnights) I’m at work Tuesday 7:30-8:00am getting home from work (the day before probably worked an overnight shift) 8:15-2:00pm heading to school/ in class working on assignments or group activity 2:20pm –leaving school heading home getting ready for work 3:15pm-1:00am- at work Wednesday 7:10am- take the girls to school 8:00pm- working on any or making up any homework assignments that I may have missed 1:15pm- help prep dinner e.g., marinating the chicken 2:20pm sometimes I willl pick up my daughters up from the school bus stop 3:00-fixing them lunch…and helping girls with home work 5:00-6:00pm wife comes home from work would talk to her about several of topics 8:00pm-8:30pm eating dinner with family 9:00pm-9:30pm-send the kids to bed Thursday 7:05am-7:15am-waking up and taking the kids to school 8:30-1:30am-school 2:25pm-girls comes home from school 3:15pm fixing lunch for them to eat 3:20-help with any homework I can and the rest when my wife comes home she will help them finish ...

Words: 779 - Pages: 4

Free Essay

Acc 363 Week 2 Dq 3

...ACC 363 WEEK 2 DQ 3 To purchase this visit here: http://www.nerdypupil.com/product/acc-363-week-2-dq-3/ Contact us at: nerdypupil@gmail.com ACC 363 WEEK 2 DQ 3 What is unearned revenue and why is it considered a liability? When is unearned revenue recognized in the financial statements? Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 363 Week 2 DQ 3 in order to ace their studies. ACC 363 WEEK 2 DQ 3 To purchase this visit here: http://www.nerdypupil.com/product/acc-363-week-2-dq-3/ Contact us at: nerdypupil@gmail.com ACC 363 WEEK 2 DQ 3 What is unearned revenue and why is it considered a liability? When is unearned revenue recognized in the financial statements? Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 363 Week 2 DQ 3 in order to ace their studies. ACC 363 WEEK 2 DQ 3 To purchase this visit here: http://www.nerdypupil.com/product/acc-363-week-2-dq-3/ Contact us at: nerdypupil@gmail.com ACC 363 WEEK 2 DQ 3 What is unearned revenue and why is it considered a liability? When is unearned revenue recognized in the financial statements? Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 363 Week 2 DQ 3 in order to ace their studies. ACC 363 WEEK 2 DQ 3 To purchase this visit here: http://www.nerdypupil.com/product/acc-363-week-2-dq-3/ Contact us at: nerdypupil@gmail.com ACC 363 WEEK 2 DQ 3 What is unearned revenue...

Words: 568 - Pages: 3

Free Essay

Acc 375 Week 3 Discussion Question 2

...ACC 375 WEEK 3 DISCUSSION QUESTION 2 To purchase this visit here: http://www.nerdypupil.com/product-category/acc-375/ Contact us at: nerdypupil@gmail.com ACC 375 WEEK 3 DISCUSSION QUESTION 2 What are the three types of billing schemes? What type of proactive test is used to detect these schemes? Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 375 Week 3 Discussion Question 2 in order to ace their studies. ACC 375 WEEK 3 DISCUSSION QUESTION 2 To purchase this visit here: http://www.nerdypupil.com/product-category/acc-375/ Contact us at: nerdypupil@gmail.com ACC 375 WEEK 3 DISCUSSION QUESTION 2 What are the three types of billing schemes? What type of proactive test is used to detect these schemes? Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 375 Week 3 Discussion Question 2 in order to ace their studies. ACC 375 WEEK 3 DISCUSSION QUESTION 2 To purchase this visit here: http://www.nerdypupil.com/product-category/acc-375/ Contact us at: nerdypupil@gmail.com ACC 375 WEEK 3 DISCUSSION QUESTION 2 What are the three types of billing schemes? What type of proactive test is used to detect these schemes? Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 375 Week 3 Discussion Question 2 in order to ace their studies. ACC 375 WEEK 3 DISCUSSION QUESTION 2 To purchase this visit here: http://www.nerdypupil.com/product-category/acc-375/...

Words: 561 - Pages: 3

Premium Essay

Essay

...Women home-based business owners: insights from comparative analyses Karyn Loscocco and Andrea Smith-Hunter Introduction Women are becoming entrepreneurs at a more than proportionate rate compared to men (Renzulli et al., 2000). There has been a corresponding interest in studying who these women are, what motivates them to become owners, and what affects their economic success (Clark and James, 1992; Loscocco et al., 1991; Moore and Buttner, 1997; Smith-Hunter, 2000; (Renzulli et al., 2000; Weiling et al., 2001). The woman home-based business owner (HBB), however, remains understudied. There has been more research on women working from home during the past decade (Heck et al., 1992; Waldrop, 1994; Jurik, 1998; Prestniz, 1989), but the bulk of the work in this area has been on homebased employment (Powers, 1995; Dannhauser, 1999; Edwards and Field-Hendrey, 1996; Ahrentzen, 1990; Bailyn, 1989), rather than HBB ownership. Though the work in these areas is a much-needed complement to studies of men small business owners, to our knowledge no study has yet to compare the woman home-based owner to her obvious counterpart, the woman who locates her business outside of the home. We seek to answer a number of questions about women who own and operate businesses from their home by comparing them to women owners whose businesses are run elsewhere. We are motivated by recent statistics showing that the HBB sector in the US is substantial in size and sales. In 1997, HBB represented 52...

Words: 7492 - Pages: 30

Premium Essay

Acc 363 Week 3 Dq 1

...ACC 363 WEEK 3 DQ 1 To purchase this visit here: http://www.nerdypupil.com/product/acc-363-week-3-dq-1/ Contact us at: nerdypupil@gmail.com ACC 363 WEEK 3 DQ 1 Why does a company decide to form as a corporation? What are the advantages and disadvantages of the corporate form of business? Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 363 Week 3 DQ 1 in order to ace their studies. ACC 363 WEEK 3 DQ 1 To purchase this visit here: http://www.nerdypupil.com/product/acc-363-week-3-dq-1/ Contact us at: nerdypupil@gmail.com ACC 363 WEEK 3 DQ 1 Why does a company decide to form as a corporation? What are the advantages and disadvantages of the corporate form of business? Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 363 Week 3 DQ 1 in order to ace their studies. ACC 363 WEEK 3 DQ 1 To purchase this visit here: http://www.nerdypupil.com/product/acc-363-week-3-dq-1/ Contact us at: nerdypupil@gmail.com ACC 363 WEEK 3 DQ 1 Why does a company decide to form as a corporation? What are the advantages and disadvantages of the corporate form of business? Home Work Hour aims to provide quality study notes and tutorials to the students of ACC 363 Week 3 DQ 1 in order to ace their studies. ACC 363 WEEK 3 DQ 1 To purchase this visit here: http://www.nerdypupil.com/product/acc-363-week-3-dq-1/ Contact us at: nerdypupil@gmail.com ACC 363 WEEK 3 DQ 1 Why does a company decide...

Words: 582 - Pages: 3

Free Essay

Wgu Bga1 All 5 Tasks Latest

...Contact us at: HELP@COURSEHOMEWORK.COM WGU BGA1 ALL 5 TASKS LATEST BGA1 Task 1 BGA1 Task 2 BGA1 Task 3 BGA1 Task 4 BGA1 Task 5 Course Home Work aims to provide quality study notes and tutorials to the students of WGU BGA1 All 5 Tasks Latest in order to ace their studies. WGU BGA1 ALL 5 TASKS LATEST To purchase this visit following link: https://coursehomework.com/product/wgu-bga1-all-5-tasks-latest/ Contact us at: HELP@COURSEHOMEWORK.COM WGU BGA1 ALL 5 TASKS LATEST BGA1 Task 1 BGA1 Task 2 BGA1 Task 3 BGA1 Task 4 BGA1 Task 5 Course Home Work aims to provide quality study notes and tutorials to the students of WGU BGA1 All 5 Tasks Latest in order to ace their studies. WGU BGA1 ALL 5 TASKS LATEST To purchase this visit following link: https://coursehomework.com/product/wgu-bga1-all-5-tasks-latest/ Contact us at: HELP@COURSEHOMEWORK.COM WGU BGA1 ALL 5 TASKS LATEST BGA1 Task 1 BGA1 Task 2 BGA1 Task 3 BGA1 Task 4 BGA1 Task 5 Course Home Work aims to provide quality study notes and tutorials to the students of WGU BGA1 All 5 Tasks Latest in order to ace their studies. WGU BGA1 ALL 5 TASKS LATEST To purchase this visit following link: https://coursehomework.com/product/wgu-bga1-all-5-tasks-latest/ Contact us at: HELP@COURSEHOMEWORK.COM WGU BGA1 ALL 5 TASKS LATEST BGA1 Task 1 BGA1 Task 2 BGA1 Task 3 BGA1 Task 4 BGA1 Task 5 Course Home Work aims to provide quality study notes and tutorials to the students of WGU BGA1 All 5 Tasks Latest in...

Words: 989 - Pages: 4

Free Essay

Prg 410 Week 3 Assignment

...PRG 410 WEEK 3 ASSIGNMENT http://www.coursehomework.com/product/prg-410-week-3-assignment/ Contact us at:  +1 315-750-4434  help@coursehomework.com PRG 410 WEEK 3 ASSIGNMENT C++ Programming I PRG-410 Assignment#3 Problem 1: [marks 20] Write a program that implements simple game scenario. Game has two-player or a three-player MODE. For each MODE you have to choose among four HEROs. These are ALPHA, BRAVO, CHALIE and DELTA. You have to design and implement proper notation for each MODE and implement them accordingly using appropriate conditions e.g., First player is selecting ALPHA then Second Player can’t select ALPHA. Against each MODE ask five values for each player if: • Ask input range is between (1-100) player will win with 10 points for one value. • Ask input range is between (101-200) player will win with 20 points for one value. • Ask input range is between (201-500) player will win with 50 points for one value. Add all five values for HERO/HEROs and printout the winner of the game. Problem 2: Rock, Paper, Scissors Game [marks 20] Write a program that lets the user play the game of Rock, Paper, and Scissors against the computer. The program should work as follows. 1. When the program begins, a random number in the range of 1 through 3 is generated. If the number is 1, then the computer has chosen rock. If the number is 2, then the computer has chosen paper. If the number is 3, then the computer has chosen scissors. (Don’t display the...

Words: 933 - Pages: 4

Premium Essay

Family Budget

...Family Budget Assignment Household #1 • You are single (no alimony/child support), and work outside the home. • You have 2 children, a boy 7 and a girl 3. • You are all generally healthy with your share of colds and flu. • You do not have health insurance provided by your employer • Your gross annual income is $19,500. Household #2 • You are single (no alimony/child support), and work outside the home. • You have 2 children, a boy 7 and a girl 3. • You are all generally healthy with your share of colds and flu. • You do not have health insurance provided by your employer • Your gross annual income is $21,500. Household #3 • You are single (no alimony/child support), and work outside the home. • You have 2 children, a boy 7 and a girl 3. • You are all generally healthy with your share of colds and flu. • You do not have health insurance provided by your employer • Your gross annual income is $30,500. Household #4 • You are married, both you and your spouse work outside the home. • You have 2 children, a boy 7 and a girl 3. • You are all generally healthy with your share of colds and flu. • You do not have health insurance provided by your employer • Your gross annual income is $40,500. Household #5 • You are married, both you and your spouse work outside the home. • You have 2 children, a boy 7 and a girl 3. • You are all generally healthy with your share of colds and flu. • Your employer provides health insurance...

Words: 599 - Pages: 3

Free Essay

Cis 170 Assignment 3 Law Enforcement Challenges

...CIS 170 ASSIGNMENT 3 LAW ENFORCEMENT CHALLENGES To purchase this visit following link: https://coursehomework.com/product/cis-170-assignment-3-law-enforcement-challenges/ Contact us at: HELP@COURSEHOMEWORK.COM CIS 170 ASSIGNMENT 3 LAW ENFORCEMENT CHALLENGES Assignment 3 Law Enforcement Challenges Course Home Work aims to provide quality study notes and tutorials to the students of CIS 170 Assignment 3 Law Enforcement Challenges Strayer Latest in order to ace their studies. CIS 170 ASSIGNMENT 3 LAW ENFORCEMENT CHALLENGES To purchase this visit following link: https://coursehomework.com/product/cis-170-assignment-3-law-enforcement-challenges/ Contact us at: HELP@COURSEHOMEWORK.COM CIS 170 ASSIGNMENT 3 LAW ENFORCEMENT CHALLENGES Assignment 3 Law Enforcement Challenges Course Home Work aims to provide quality study notes and tutorials to the students of CIS 170 Assignment 3 Law Enforcement Challenges Strayer Latest in order to ace their studies. CIS 170 ASSIGNMENT 3 LAW ENFORCEMENT CHALLENGES To purchase this visit following link: https://coursehomework.com/product/cis-170-assignment-3-law-enforcement-challenges/ Contact us at: HELP@COURSEHOMEWORK.COM CIS 170 ASSIGNMENT 3 LAW ENFORCEMENT CHALLENGES Assignment 3 Law Enforcement Challenges Course Home Work aims to provide quality study notes and tutorials to the students of CIS 170 Assignment 3 Law Enforcement Challenges Strayer Latest in order to ace their studies. CIS 170 ASSIGNMENT 3 LAW ENFORCEMENT CHALLENGES ...

Words: 433 - Pages: 2