Choose Diet

Program should start by asking for the patient id (which is a six-digit positive integer with no leading zeroes). When […]

Homework 7

1. (3 points) Exercise 9, page 205. Just write out the recursive method gcd; you aren’t required to write or […]

EventSales

There are three seating categories at a stadium. For an upcoming concert, Class A seats cost $75, Class B seats […]

hw6

Get a limit (type int) from the user to represent the upper limit of the list. There must be error […]

Customer

Part 1: Create a data type called customer which has 5 attributes. (Name, Date of Birth, Address, HKID, and Account […]

PerfectSquares

Create a program that will store all perfect squares between 1 and 10,000 into an array. Once the array is […]