Computers and Technology, 18.02.2021 18:40 melissareid65
Write a program to convert a fraction to a decimal. Have your program ask for the numerator first, then the denominator. Make sure to check if the denominator is zero. If it is, print out "Error - cannot divide by zero."
Hint: Since this lesson uses if-else statements, remember to use at least one if-else statement in each of your answers to receive full credit.
Sample Run 1
Numerator: 10
Denominator: 0
Sample Output 1
Error - cannot divide by zero.
Sample Run 2
Numerator: 12
Denominator: 15
Sample Output 2
Decimal: 0.8
Answers: 3
Computers and Technology, 22.06.2019 09:30, caldonjoshhsms2061
What are the steps involved in accepting all the changes in a document? arrange these in order click edit. click accept or reject. click changes. click accept all.
Answers: 1
Computers and Technology, 22.06.2019 15:30, tfornwalt4390
Melissa needs to add a topic to an email that she will send to her teacher. choose the name of the field where she should type her topic.
Answers: 2
Computers and Technology, 23.06.2019 01:30, bri2728
Jason works as an accountant in a department store. he needs to keep a daily record of all the invoices issued by the store. which file naming convention would him the most? a)give the file a unique name b)name the file in yymmdd format c)use descriptive name while naming the files d)use capital letters while naming the file
Answers: 3
Write a program to convert a fraction to a decimal. Have your program ask for the numerator first, t...
Mathematics, 06.05.2021 01:00
Mathematics, 06.05.2021 01:00
Mathematics, 06.05.2021 01:00
Mathematics, 06.05.2021 01:00
Mathematics, 06.05.2021 01:00
Biology, 06.05.2021 01:00
Mathematics, 06.05.2021 01:00
Biology, 06.05.2021 01:00