User Tools

Site Tools


haas:fall2019:c4eng:projects:mtf1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
haas:fall2019:c4eng:projects:mtf1 [2019/10/01 12:06] – [Execution] wedgehaas:fall2019:c4eng:projects:mtf1 [2019/10/01 12:07] (current) – [Specifications] wedge
Line 22: Line 22:
   * prompt the user for the operation ('+' for addition, '-' for subtraction, '*' for multiplication, '/' for division, and '%' for remainder)   * prompt the user for the operation ('+' for addition, '-' for subtraction, '*' for multiplication, '/' for division, and '%' for remainder)
     * properly store this in a variable of type **char**     * properly store this in a variable of type **char**
-    * check for a literal '+', '-', '*', or '/' symbol to determine operation to perform+    * check for a literal '+', '-', '*', '/', or '%' symbol to determine operation to perform
       * if invalid input, display an error and exit with a non-zero value of 1       * if invalid input, display an error and exit with a non-zero value of 1
   * prompt for the starting row (0-9)   * prompt for the starting row (0-9)
haas/fall2019/c4eng/projects/mtf1.1569931573.txt.gz · Last modified: 2019/10/01 12:06 by wedge