UOP PRG410 All Assignments Latest

Question # 00784865 Posted By: rey_writer Updated on: 11/25/2020 08:56 AM Due on: 11/25/2020
Subject Education Topic General Education Tutorials:
Question
Dot Image

PRG410 C++ Programming I

Week 2 Assignment  

Simple Comparison Application

A grocery store hired you to develop a simple application to read 2 random product prices and compare them.

Create a C++ program that does the following:

Asks the user to enter 3 integers

Obtains the numbers from the user

Prints the largest number and then the smallest of the numbers

If the numbers are equal, prints the message: "These numbers are equal."

Prints the sum, average, and product of the 3 numbers

Include the proper header and make sure you properly comment your program. Also, make sure you use proper coding conventions.

Compress all your Microsoft® Visual Studio® source code files from the console application folder into a ZIP file.

Submit your Assignment.

 

 

PRG410 C++ Programming I

Week 4 Assignment  

Savings Account Program

You are now working for a bank, and one of your first projects consists of developing an application to manage savings accounts.

Create a C++ program that does the following:

Creates a SavingsAccount class

Uses a static data member, annualInterestRate, to store the annual interest rate for each of the savers

Ensures each member of the class contains a private data member, savingsBalance, indicating the amount the saver currently has on deposit

Develops a member function, calculateMonthlyInterest, to calculate the monthly interest by multiplying the savingsBalance by annualInterestRatedivided by 12; this interest should then be added to savingsBalance

Develops a static member function, modifyInterestRate, that sets the static annualInterestRate to a new value

Instantiates two different objects of class SavingsAccount, Firstsaver and Secondsaver, with balances of $1000.00 and $2000.00, respectively; set the annualInterestRate to 2 percent

Calculates the monthly interest and prints the new balances for each of the savers

Sets the annualInterestRate to 3 percent, calculates the next month's interest, and prints the new balances for each of the savers

Include the proper header and make sure you properly comment your program. Also, make sure you use proper coding conventions.

Compress all your Microsoft® Visual Studio® source code files from the console application folder into a ZIP file.

Submit your assignment.

 

PRG410 C++ Programming I

Week 5 Assignment  

SimpleMath Program

You are now working for a department store, and your task is to create a point-of-sale application to allow customers to calculate the total cost of their sale, including taxes.

Create a C++ program that does the following:

Calculates sales tax and total cost based on the type of purchased product using the following categories and tax percentages:

Category 1 - Clothing: 6%

Category 2 - Beauty products: 7%

Category 3 - Grocery: 3%

Category 4 - Gardening: 6%

Category 5 - School supplies: 3%

Category 6 - Tobacco products: 10%

Creates an array to store the numbers users input and uses the switch statement to calculate the sales tax and final cost based on the category of the purchased product

Prompts the user for category and price of the product

Calculates and displays the final cost

Include the proper header and make sure you properly comment your program. Also, make sure you use proper coding conventions so your program runs and compiles correctly.

Compress all your Microsoft® Visual Studio® source code files from the console application folder into a ZIP file.

Submit your assignment.

Dot Image
Tutorials for this Question
  1. Tutorial # 00784767 Posted By: rey_writer Posted on: 11/25/2020 08:57 AM
    Puchased By: 2
    Tutorial Preview
    The solution of UOP PRG410 All Assignments Latest...
    Attachments
    UOP_PRG410_All_Assignments_Latest.ZIP (18.96 KB)

Great! We have found the solution of this question!

Whatsapp Lisa