Subject: Computer Science    / General Computer Science

Algorithm Assignment

Choose one of the following for this week’s assignment:

Option A

Create an algorithm for a program that greets the user, ask what the user’s name is, and then greets the user by their supplied name.


Hello, my name is Hal.

What is your name?


Hello, John. Welcome to the world of programming!

Option B

Create an algorithm for a program that asks the user for the price of an item. The program then must display the given price, calculate and display the tax based on a 6% rate, and then calculate and display the grand total (total + tax).

Order Now