C1S115 Lab 5 with C# Code, IPO, Pseudocode, visio flowchart and 4 screenshots – Complete and A+ Guaranteed

Lab Price = $11.5

CIS115 Lab 5 New in Python – Race Time Sorting in Python:

Please feel free to send us your queries at: support@iqrajavaid.com
Payment methods

Add to Cart

Buy Now

View Cart


Problem Statement

Week 5 iLab— Fireworks Stand Checkout

TCO 5—Given a simple problem that requires iteration, create a solution algorithm that employs loops.
TCO 8—Given a more complex problem, develop a complete solution that includes a comprehensive statement of the problem, complete program design, and program documentation.

Scenario
Your algorithm will keep track of a customer’s purchases at the local fireworks stand. Customers will not know exactly how many items they will purchase, so using a For loop on this lab is not allowed. Let’s keep the rules simple.

• Accept the dollar value of each item purchased from the user until the user is finished.
• When purchases are complete, enter a sentinel value of -1 (indicating that the user has finished).
• If the item purchased is $50.00 or more, give your customer a 10% discount on the item purchased.
• Display all of the purchases to the customer with the original price and the discount price.

Be sure to think about the logic and design first (IPO chart, pseudocode, and flowchart), then code the C# program.

Rubric

Point distribution for this activity:
Lab Activity
Document Points possible Points received
Variable list 10
IPO chart 10
Flowchart 10
Pseudocode 10
Working program 20
Total Points 60

1—Variable List With Data Type
List all variables you will use (use valid variable names). Indicate whether the data type is string, integer, or decimal, and so on.
IsContinue: Integer
ItemName: String
ItemPrice: String
TotalDiscount:double

2—IPO Model
List the inputs, any processes/calculations, and outputs. Use the same valid variable names you used in Step 1.

Inputs Process (calculations) Outputs
GetInput ItemName, ItemPrice
ItemPrice CalculateDiscount TotalDiscount
TotalDiscount, ItemPrice DisplayOutput
DisplayExitMessage

3—Flowchart
Use MS Visio to create a flowchart. Paste the flowchart here, or attach it as a separate document. Use the same valid variable names you used in Step 1.

4—Pseudocode
Describe your solution using pseudocode. Use the same valid variable names you selected in Step 1.
BEGIN standAloneCheckout
Declare IsContinue as Integer
Declare ItemName as String
Declare ItemPrice as String
Declare TotalDiscount as Double
Set ItemName = “”
Set ItemPrice = 0
Set IsContinue = 0
Set TotalDiscount = 0

Write “Welcome to the program! ”
REPEAT
PROMPT “Please enter Item Name: ”
INPUT ItemName
PROMPT “Please enter Item Price: ”
INPUT ItemPrice
IF ItemPrice >=50 THEN
SET TotalDiscount = (10 / 100 * ItemPrice)
ELSE
SET TotalDiscount = 0
END IF

OUTPUT “Item Name: ” + ItemName
OUTPUT “Item Original Price: ” + ItemPrice
OUTPUT “Item Discount: ” + TotalDiscount
OUTPUT “Discounted Price: ” + ItemPrice – TotalDiscount

Prompt “Do you want to add another record? Press any key to continue or -1 to quit: “
Input IsContinue
UNTIL IsContinue != -1
Write “Thank you for using the program! ”
END


5—C# Code
Screenshot of Running Program
Zipped Project File (submitted to Dropbox)

Copy/paste your C# code here.

Paste a screenshot(s) of the complete working program here. Use test scenarios to test all possible paths of execution.

Submit a separate zipped file to the Dropbox containing the complete project folder.

Relevant Material
Screenshots
Lab5: DiscountAbove50
Lab5: DiscountAbove50
Lab5: flowchart
Lab5: flowchart
Lab5: InvalidContinueInput
Lab5: InvalidContinueInput
Lab5: InvalidItemPrice
Lab5: InvalidItemPrice

Lab5: NoDiscount
Lab5: NoDiscount
Instructions
* If you want to purchase multiple products then click on “Buy Now” button which will give you ADD TO CART option.Please note that the payment is done through PayPal.
* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at support@iqrajavaid.com.
* As soon as the payment is received, download link of the solution will automatically be sent to the address used in selected payment method.
* Please check your junk mails as the download link email might go there and please be patient for the download link email. Sometimes, due to server congestion, you may receive download link with a delay.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at support@iqrajavaid.com and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* In case of any query, please donot hesitate to contact us at support@iqrajavaid.com.
* MOST IMPORTANT Please use the tutorials as a guide and they need NOT to be used for any submission. Just take help from the material.
******************************************** Good Luck ***************************************************
Privacy Policy
We take your privacy seriously and will take all measures to protect your personal information.
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
Refund Policy
Incase you face any issues with the tutorial, please free to contact us on support@iqrajavaid.com
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.
Payment Details
Lab Price = $11.5
Please feel free to send us your queries at: support@iqrajavaid.com

Payment methods

Add to Cart

Buy Now

View Cart

Leave a Reply