Skip to content

DANaini13/stanford-IOS-Assignments-Calculator-CS193P

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment 1 (Calculator)

Stanford CS 193P IOS Application Development

functionality

  1. work with floating point numbers
  2. offer the +, -, ×, ÷ basic binary operators.
  3. offer the cos(), sin(), tan(), abs(), x^2, x^3, lg(), rand() basic unary operators.
  4. backspace(right side of the display screen) and all clear button
  5. a description screen that shows the calculating steps.

appearance

  1. original ios calculator colors.
  2. good screen fit.
  3. screen shot below.

    Image of Screen Shot



Assignment 2 (Calculator with undo and variables)

Stanford CS 193P IOS Application Development

functionality

  1. work with floating point numbers
  2. offer the +, -, ×, ÷ basic binary operators.
  3. offer the cos(), sin(), tan(), abs(), x^2, x^3, lg(), rand() basic unary operators.
  4. backspace(right side of the display screen) and all clear button
  5. click the backspace button "<-" until the last digit left will cause undo.
  6. a description screen that shows the calculating steps.
  7. add variable using "M" button.
  8. using "➝ M" button to set or reset the value of the "M" variable, then recualte the expresstions.

appearance

  1. original ios calculator colors.
  2. good screen fit.
  3. screen shot below.

    Image of Screen Shot

Assignment 3 (Calculator with graph functionality)

Stanford CS 193P IOS Application Development

functionality

  1. work with floating point numbers
  2. offer the +, -, ×, ÷ basic binary operators.
  3. offer the cos(), sin(), tan(), abs(), x^2, x^3, lg(), rand() basic unary operators.
  4. backspace(right side of the display screen) and all clear button
  5. click the backspace button "<-" until the last digit left will cause undo.
  6. a description screen that shows the calculating steps.
  7. add variable using "M" button.
  8. using "➝ M" button to set or reset the value of the "M" variable, then recualte the expresstions.
  9. using "~" button to generate graph for function that user input.

appearance

  1. original ios calculator colors.
  2. good screen fit.
  3. screen shot below.

    Image of Screen Shot

    Image of Screen Shot

    Image of Screen Shot