subject

Write a program which accepts two integers from the user. then it asks the user what he wants to do with those two numbers. if the user choice is

‘a’ – add the two numbers

‘b’ – subtract the second number from the first number

‘c’ – multiply the first number by the second number

‘d’ – divide the first number by the second number

‘q’ – end the operation

your program should continue to accept the two numbers and the user choice unless the user enters ‘q’ as choice.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. peter has launched a website that features baby products. however, clients often find they are unable to access the website because the server is down. which feature of cybersecurity should peter focus on for his website? a. data authenticity b. data privacy c. data availability d. data integrity e. data encryption
Answers: 3
question
Computers and Technology, 23.06.2019 19:30
What are loans to a company or government for a set amount of time
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
What is a loop? a. a collection of function definitions at the top of a program b. a line of code that defines a variable and assigns it a value c. a program that opens the turtle graphics window d. a block of code that repeats a specific number of times
Answers: 1
question
Computers and Technology, 24.06.2019 02:30
Which option completes the explanation for conflict of interest in an organization
Answers: 1
You know the right answer?
Write a program which accepts two integers from the user. then it asks the user what he wants to do...
Questions
question
Mathematics, 07.10.2019 10:30
question
Social Studies, 07.10.2019 10:30
Questions on the website: 13722360