Chat with us, powered by LiveChat Account Balance and Sales Tax Code C++ Programming Assignment | Abc Paper
+1(978)310-4246 credencewriters@gmail.com
  

1. Write a code from last week lab2. add to your code this as practicea. The variable sum starts with the value 0.Add 10 to sum.Add 15 to sum.Add 20 to sum.Display the value of sum on the screen.b. The variable x starts with the value 0.The variable y starts with the value 5.Add 1 to x.Add 1 to y.Add x and y, and store the result in y.Display the value in y on the screen.c. The variable j starts with the value 10.The variable k starts with the value 2.The variable l starts with the value 4.Store the value of j times k in j.Store the value of k times l in l.Add j and l, and store the result in k.Display the value in k on the screen.d. The variable a starts with the value 1.The variable b starts with the value 10.The variable c starts with the value 100.The variable x starts with the value 0.Store the value of c times 3 in x.Add the value of b times 6 to the value already in x.Add the value of a times 5 to the value already in x.Display the value in x on the screen.Last Week lab which is this one:Take a piece of paper and solve this Mathematically 1. Account BalanceWrite high-level and detailed psuedocode for a program that calculates the currentbalance in a bank account. The program must ask the user for• The starting balance• The total dollar amount of deposits made• The total dollar amount of withdrawals madeOnce the program calculates the current balance, it should be displayed on the screen.2. Sales TaxWrite high-level and detailed psuedocode for a program that calculates the total of aretail sale. The program should ask the user for• The retail price of the item being purchased• The sales tax rateOnce these items have been entered, the program should calculate and display• The sales tax for the purchase• The total of the sale

error: Content is protected !!