subject

Write a calculator program that keep reading operations and double numbers from user, and print the result based on the chosen operation using while loop. the loop must stop if the user enters q letter.
note: no need to write two classes.
typical run of the program:
enter an operation(+*,/), q to quit: +
enter your first number: 6
enter your second number: 5
result= 11.0
enter an operation(+*,/), q to quit: *
enter your first number: 5
enter your second number: 5
result= 25.0
enter an operation(+*,/), q to quit: q
you calculator has been ended!

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:30
Rafael needs to add a title row to a table that he has inserted in word. what should he do? use the alignment options. use the merge and center option for all the cells in the top row. use the merge and center option on the first two cells in the top row. none of the above
Answers: 3
question
Computers and Technology, 23.06.2019 05:30
Sally is editing her science report about living things. she needs to copy a paragraph from her original report. order the steps sally needs to do to copy the text to her new document.
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
Of the following pieces of information in a document, for which would you most likely insert a mail merge field?
Answers: 3
question
Computers and Technology, 23.06.2019 22:30
Jamie has to enter the names, employee id’s, and income of a group of employees into a worksheet. which option will jamie use to describe the data
Answers: 3
You know the right answer?
Write a calculator program that keep reading operations and double numbers from user, and print the...
Questions
question
Mathematics, 30.05.2020 08:00
question
Mathematics, 30.05.2020 08:00
question
Mathematics, 30.05.2020 08:00
question
Business, 30.05.2020 08:00
Questions on the website: 13722359