Challenge

Project

Create a Scientific Calculator with the following operations-

  • "+"-plus or addition
  • "-" -minus or subtraction
  • "*" -multiply by
  • "/" -divided by
  • "^"-raised to the power of- x raised to the y
  • "Sqrt"- square root
  • "Nrt"- nth root
  • "log"- Logarithmic value
  • "logn"- Natural log
  • "sin"- Sine
  • "isin" -Inverse sine
  • "cos"- Cosine
  • "icos"- Inverse cosine
  • "tan"- Tangent
  • "itan"- Inverse tan
  • "stor" -place a number in memory for later use
  • "recall"-recover the number from memory for immediate use
  • "d2b" -Decimal to Binary number
  • "b2d" -Binary to Decimal number
  • "sip"- Calculations of monthly, quarterly and yearly SIP calculations for compounding investments.

It should run on an infinite loop and take inputs from the user for any operation they select based on the operation number on the list displayed to them. Save all the inputs, calculations and results in a file named “CalculationsHistory.txt”. Your code should follow all principles of Object-Oriented Programming. Create a report on how your software uses all the OOPs principles with examples from your code.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.