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, 22.06.2019 15:10
Which activity should be part of a long-term plan to positively affect yourhealth? oa. wearing regular clothing when handling toxinsob. not worrying about secondhand smokeoc. avoiding excessive exposure to sunlightod. drinking only well water
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
Creating "smart interfaces" in all sectors of industry, government, and the public arena is one of the fastest growing hct areas. these interfaces model, interpret, and analyze such human characteristics as speech, gesture, and vision. the field of biometrics, in which humans authenticate themselves to machines, is an area of considerable interest to hct practitioners. fingerprint scans are one of the most frequently used biometric options, and this article, biometric student identification: practical solutions for accountability & security in schools, makes a case for the implementation of fingerprint scans in schools. critique the article, and answer the following questions: according to the author, what are the main benefits of adopting fingerprint scans in schools for student identification? according to the author, what are the main drawbacks of adopting fingerprint scans in schools for student identification? do you agree with the author's assessment of the pl
Answers: 2
question
Computers and Technology, 23.06.2019 04:10
2pointswho was mikhail gorbachev? oa. a russian leader who opposed a coupob. a polish leader who founded the labor union "solidarityoc. a soviet leader who called for a closer relationship with the unitedstates, economic reform, and a more open societyd. a soviet leader who called for more oppression in the soviet union
Answers: 3
question
Computers and Technology, 23.06.2019 14:30
The basic work area of the computer is it screen that you when you first fire up your computer
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
World Languages, 19.10.2019 12:30
question
Spanish, 19.10.2019 12:30
question
Arts, 19.10.2019 12:30
question
Mathematics, 19.10.2019 12:30
question
Mathematics, 19.10.2019 12:30
question
Computers and Technology, 19.10.2019 12:30
Questions on the website: 13722362