Question: Write a program called 'My Calculator' using SmallTalk program. Your program should be able to receive integer numbers from user. The numbers should be

Write a program called 'My Calculator' using SmallTalk program. Your program should be able to receive 

Write a program called 'My Calculator' using SmallTalk program. Your program should be able to receive integer numbers from user. The numbers should be identified as positive or negative number. Check also if the numbers are the same or not. Then, perform all mathematical operations on the numbers. Your program must be user-friendly. Use any online compiler of your choice. Submission: 1. This is an individual work. 2. Please submit the softcopy of the programs in 2 format: i. Copy the program from your compiler and paste in this submission cover page. ii. Screenshot from the online compiler (try to fit all in 1 screenshot if possible). 3. Please include sample of output.

Step by Step Solution

3.33 Rating (156 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a basic example of a My Calculator program in Smalltalk Object subclass MyCalculator MyCalculator class getUserInput prompt userInput userInput ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!