Lab 7

Welcome to Lab 7. We're working on...functions. So for this lab we are going to write two simple functions and then use them in our main lab function.

Details

In this lab we are going to read in a command and then decide what to do. There are two commands that we will work on.

Input

The following is a sample input:

toString 7
toNumber four

so your lab should run until the input fails.

Output

If your program was run using the input above your program would ouput this:

Converted from Number to String 
Number: 7
String: seven
Converted from String to Number
String: four
Number: 4

Requirements

In order for this lab to work, you must do the following:

Due

Like all labs, this is due at the end of lab. Tuesday, October 14 at 6:50. I will accept this for an additional 65 hours, or until 11:50AM on Friday

Grading

When you are done, zip up your convert.h file and implementation file(s) and turn them into Web-CAT.