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, 22.06.2019 06:00
In outlook how can cherie look at the details of an event that appears on the month view of her calendar? check all that apply. by switching to the detail view by switching to the week view by switching to the day view by right-clicking on the event by double-clicking on the event by highlighting the event
Answers: 2
question
Computers and Technology, 22.06.2019 11:30
Hassan is writing his master’s thesis, which is a thirty-page document. he received some feedback from his professor in the form of comments, but does not see where the comments are. what is the fastest way for hassan to find the feedback?
Answers: 3
question
Computers and Technology, 23.06.2019 18:00
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
question
Computers and Technology, 23.06.2019 21:00
Uget brainliest if accurate mary has been given the responsibility of hiring a person for the position of a software testing officer. which management function would mary achieve this responsibility?
Answers: 1
You know the right answer?
Write a calculator program that keep reading operations and double numbers from user, and print the...
Questions
question
English, 16.09.2020 23:01
question
Mathematics, 16.09.2020 23:01
question
Mathematics, 16.09.2020 23:01
question
Mathematics, 16.09.2020 23:01
question
Mathematics, 16.09.2020 23:01
question
Mathematics, 16.09.2020 23:01
question
English, 16.09.2020 23:01
question
Mathematics, 16.09.2020 23:01
question
Mathematics, 16.09.2020 23:01
question
Mathematics, 16.09.2020 23:01
question
Mathematics, 16.09.2020 23:01
question
Mathematics, 16.09.2020 23:01
question
Mathematics, 16.09.2020 23:01
question
Mathematics, 16.09.2020 23:01
question
English, 16.09.2020 23:01
question
Mathematics, 16.09.2020 23:01
question
Mathematics, 16.09.2020 23:01
question
English, 16.09.2020 23:01
question
Mathematics, 16.09.2020 23:01
question
Mathematics, 16.09.2020 23:01
Questions on the website: 13722363