• 100% Satisfaction Guarantee

Raj, Engineer
Category: Homework
Satisfied Customers: 1282
Experience:  4 + Experiance in IT Industry
16752232
Raj is online now

# ok here is my pseudocode Main ModuleDeclare itemName As StringDeclare

ok here is my pseudocode Main Module
Declare itemName As String
Declare itemQuantity As Integer
Declare itemPrice As Real
Declare itemTotal As Real
Call GetInput(itemName,itemQuantity,itemPrice)
itemTotal = Call CalculateTotalPrice(itemQuantity,itemPrice)
Call DisplayResult(itemName,itemTotal)
End Main

Module GetInput (itemName As String,itemQuantity As Integer,itemPrice As Real)
Get itemName
Display “Please enter quantity of item bought”
Get itemQuantity
Get itemPrice
End GetInput

Module CalculateTotalPrice (itemQuantity As Integer,itemPrice As Real) As Real
Declare itemTotal As Real
itemTotal = itemQuantity * itemPrice
Return itemTotal
End CalculateTotalPrice

Module DisplayResult(itemName As String,itemTotal As Real)
Display “The total price of “,itemName, “would be “, itemTotal
End Module

I need to do this • Additional Requirements: The owner of the store now wants additional features for his application. He now wants to be able to give discounts to people who purchase more than 4 of a single item. The discount should apply to that item only and should be 10%. He also wants to be able to add tax, the current tax rate is 7.5 % Finally he wants to be able to continue to add new items to one order. When he is done entering the items for the order he should be able to see what the subtotal is, what the final tax is and what the final total is. This should be the only time the subtotal is displayed. if you could help me with this and also need to do this:

Generate a set of test inputs and expected results for the Checkout Application. You will create test cases as discussed in the learning lab on Test Cases. I need help asap and it is for my it/210 class
Hi

I am Coding Guru and today, I will be trying my best to solve your issue.

I can help you with this, do you need pseudocode for the above?
Customer: replied 3 years ago.

well the pseudo code is there just need to add the additional information of Additional Requirements: The owner of the store now wants additional features for his application. He now wants to be able to give discounts to people who purchase more than 4 of a single item. The discount should apply to that item only and should be 10%. He also wants to be able to add tax, the current tax rate is 7.5 % Finally he wants to be able to continue to add new items to one order. When he is done entering the items for the order he should be able to see what the subtotal is, what the final tax is and what the final total is. This should be the only time the subtotal is displayed. if you could help me with this and also need to do this: and to also to

Generate a set of test inputs and expected results for the Checkout Application. You will create test cases as discussed in the learning lab on Test Cases. I need help asap and it is for my it/210 class

I can help with the pseudocode. Is that fine with you?
Customer: replied 3 years ago.

yeah and are you going to help me with generating a set of test inputs for the check out application

I can try that if you can give me a sample.
Customer: replied 3 years ago.

was given this example from my teacher to follow it like this

Test Case 1: Valid bidder and valid dollar amount

Inputs:
Bidder ID = 59088
Bid Amount = 110

Expected Outputs:

ok, are you familiar with for, while loops?
Customer: replied 3 years ago.

yes I am familiar with it

Great, please wait for sometime, I will prepare the code.
Customer: replied 3 years ago.

ok are you going to be able to generate the set of test inputs as well?

Let me write the code first, I will let you know after that. Thank you.
Customer: replied 3 years ago.

ok

This is the pseudocode:

Module Main
Declare itemName As String
Declare itemQuantity As Integer
Declare itemPrice As Real
Declare itemTotal As Real
Declare itemContinue As Char
Declare itemDiscount As Real
Declare itemSubTotal as Real
Declare itemTax as Real

While ((itemContinue ="y")
Call GetInput(itemName,itemQuantity,itemPrice)
If itemQuantity > 4
itemDiscount = Call CalcDiscount(itemPrice, itemQuantity)
itemTotal = Call CalculateTotalPrice(itemQuantity,itemPrice) - itemDiscount
Else
itemTotal = Call CalculateTotalPrice(itemQuantity,itemPrice)
End If
itemSubTotal = itemSubTotal + itemTotal

Display "Do you want to continue? Y = yes, n = no"
End While

itemTax = Call addTax(itemSubTotal As Real)
Display "Final Sub Total is: ", itemSubTotal
Display "Final Tax is: ", itemTax
Display "Final Total is: ", itemSubTotal + itemTax

Call DisplayResult(itemName,itemTotal)
End Main

Module GetInput (itemName As String,itemQuantity As Integer,itemPrice As Real)
Get itemName
Display “Please enter quantity of item bought”
Get itemQuantity
Get itemPrice
End GetInput

Module CalculateTotalPrice (itemQuantity As Integer,itemPrice As Real) As Real
Declare itemTotal As Real
itemTotal = itemQuantity * itemPrice
Return itemTotal
End CalculateTotalPrice

Module DisplayResult(itemName As String,itemTotal As Real)
Display “The total price of “,itemName, “would be “, itemTotal
End Module

Module CalcDiscount(itemPrice As Real, itemQuantity As Real)
Return (itemPrice * itemQuantity) * .1
End Module

Return itemTotal * .75
End Module
Customer: replied 3 years ago.

are you going to generate

Generate a set of test inputs and expected results for the Checkout Application. You will create test cases as discussed in the learning lab on Test Cases.

Customer: replied 3 years ago.

are you going to

Generate a set of test inputs and expected results for the Checkout Application. You will create test cases as discussed in the learning lab on Test Cases.

Customer: replied 3 years ago.
Relist: Other.
I need to generate Generate a set of test inputs and expected results for the Checkout Application example like this Test Case 1: Valid bidder and valid dollar amount

Inputs:
Bidder ID = 59088
Bid Amount = 110

Expected Outputs:

How many test cases are required?
Customer: replied 3 years ago.

I need it for this pseudocode Module Main
Declare itemName As String
Declare itemQuantity As Integer
Declare itemPrice As Real
Declare itemTotal As Real
Declare itemContinue As Char
Declare itemDiscount As Real
Declare itemSubTotal as Real
Declare itemTax as Real

While ((itemContinue ="y")
Call GetInput(itemName,itemQuantity,itemPrice)
If itemQuantity > 4
itemDiscount = Call CalcDiscount(itemPrice, itemQuantity)
itemTotal = Call CalculateTotalPrice(itemQuantity,itemPrice) - itemDiscount
Else
itemTotal = Call CalculateTotalPrice(itemQuantity,itemPrice)
End If
itemSubTotal = itemSubTotal + itemTotal

Display "Do you want to continue? Y = yes, n = no"
End While

itemTax = Call addTax(itemSubTotal As Real)
Display "Final Sub Total is: ", itemSubTotal
Display "Final Tax is: ", itemTax
Display "Final Total is: ", itemSubTotal + itemTax

Call DisplayResult(itemName,itemTotal)
End Main

Module GetInput (itemName As String,itemQuantity As Integer,itemPrice As Real)
Get itemName
Display “Please enter quantity of item bought”
Get itemQuantity
Get itemPrice
End GetInput

Module CalculateTotalPrice (itemQuantity As Integer,itemPrice As Real) As Real
Declare itemTotal As Real
itemTotal = itemQuantity * itemPrice
Return itemTotal
End CalculateTotalPrice

Module DisplayResult(itemName As String,itemTotal As Real)
Display “The total price of “,itemName, “would be “, itemTotal
End Module

Module CalcDiscount(itemPrice As Real, itemQuantity As Real)
Return (itemPrice * itemQuantity) * .1
End Module

Return itemTotal * .75
End Module

I need like 8-10 of them if possible

Ok, And how much time is left?
Customer: replied 3 years ago.

for my assignment to be turned in

Yes, how much time is left for the deadline of your assignment to turn in?
Customer: replied 3 years ago.

i have until sunday

Ok Can you be online for next 1 hr. than I can provide you Test cases now itself.

And There is One flaw in Pseudocode so I will change that as well....
Customer: replied 3 years ago.

ok and yes I will be on for the next hr.

6 Test Cases are fine?? Because they cover all the parts of Pseudocodes.
Customer: replied 3 years ago.

yea that is fine k and did you fix the part of the pseudocode

Yes I will provide you both in next 15 min.
Customer: replied 3 years ago.

ok

You need to spend \$3 to view this post. Add Funds to your account and buy credits.
Raj, Engineer
Category: Homework
Satisfied Customers: 1282
Experience: 4 + Experiance in IT Industry

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

### What Customers are Saying:

• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Previous | Next >
• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
• This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
• Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
• I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
• Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
• Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
• He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX

• ### LogicPro

#### Satisfied Customers:

4925
Expert in Java C++ C C# VB Javascript Design SQL HTML
< Last | Next >

### LogicPro

#### Satisfied Customers:

4925
Expert in Java C++ C C# VB Javascript Design SQL HTML

### Manal Elkhoshkhany

#### Satisfied Customers:

4538
More than 5000 online tutoring sessions.

### Linda_us

#### Satisfied Customers:

3138
Post Graduate Diploma in Management (MBA)

### Chris M.

#### Satisfied Customers:

2602
Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

### F. Naz

#### Satisfied Customers:

2126
Experience with chartered accountancy

### Bizhelp

#### Satisfied Customers:

1887
Bachelors Degree and CPA with Accounting work experience

### Seanna

#### Satisfied Customers:

1781
3,000+ satisfied customers, all topics, A+ work