These are all one file programs. Make sure to name the file the program assignment name with a .cpp extension. For example, the first program would be called cereal.cpp However, capitalize the first letter of the directory name, e.g., Cereal.
Make sure to work on each program in its own directory.
Remember to carefully write these programs step by step. Flailing away at a program will not lead to completing it.
If you have any questions, especially about what the program is supposed to do contact me.
A "lab type" programming assignment. Complete the comments in the files below.
If you are in the CS 29995 lab, then you will do these in the Lab.
In the same directory that you have your working copy checked out in checkout the following directory:
svn co http://classes.cs.kent.edu/svn/cs23021/001/cs23021_shared
Do not do the above checkout in your cs23021 working copy.
Write a program that will input the weight of a package of cereal (it isn't just for breakfast anymore) in ounces and output the weight in metric tons as well as the number of boxes needed to yield one metric ton of cereal.
This program is based on problem 1 on page 94.
Your program should only work for one calculation. Do not use any sort of loop statement.
This program is based on problem 7 on page 95. More details can be found there.
One change to make is that the employee's hourly rate should be an input to the program.
The program should work for one employee only. Do not use any sort of loop statement.
This program is problem 5 on page 95.
The program should work for one consumer loan only. Do not use any sort of loop statement.
Find the largest of 10 numbers.
Do not use any sort of loop statement.