Computers and Technology
Computers and Technology, 02.12.2020 21:30, JeroMii

Write a program that accepts two integers from the user and perform one of the four arithmetic operations based on user’s choice: addition, subtraction, multiplication or division. For example, Enter an integer: 5
Enter an integer: 2
Which operations would you like to perform? addition
The sum of two integers is 7.

Red parts are what user would type in.
However, if the user wants the program to divide by a 0, write a message that says, “You can’t divide by 0.”
Modify the program above so that the program continues to run until user enters “STOP”
Plz if anyone can help!

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 18:00, abbygriffin2009
Martha is a healer, a healthcare provider, and an experienced nurse. she wants to share her daily experiences, as well as her 12 years of work knowledge, with people who may be interested in health and healing. which mode of internet communication can martha use?
Answers: 3
image
Computers and Technology, 23.06.2019 15:00, victordhernandez01
Jake really works well with numbers and is skilled with computers but doesn't work well with others. which of the jobs discussed in this unit might be best for jake? why?
Answers: 3
image
Computers and Technology, 24.06.2019 05:50, 11232003
What all vehicles has tesla inc. created over the years
Answers: 3
image
Computers and Technology, 24.06.2019 21:40, jose4197
Clunker motors inc. is recalling all vehicles in its extravagant line from model years 1999—2002 as well as all vehicles in its guzzler line from model years 2004—2007. a boolean variable named recalled has been declared. given a variable modelyear and a string modelname, write a statement that assigns true to recalled if the values of modelyear and modelname match the recall details and assigns false otherwise.
Answers: 2
Do you know the correct answer?
Write a program that accepts two integers from the user and perform one of the four arithmetic opera...

Questions in other subjects:

Konu
Mathematics, 07.11.2019 22:31
Konu
Biology, 07.11.2019 22:31