subject
Computers and Technology, 01.10.2019 04:00 hlc614

For this project you will write a java program that will run a simple math quiz. your program will generate two random integers between 1 and 20 and then ask a series of math questions. each question will be evaluated as to whether it is the right or wrong answer. in the end a final score should be reported for the user. (see below for how to generate random numbers). following the instructions from closed lab 01, create a new folder named funwithbranching and a new java program in that folder named funwithbranching. java for this assignment. sample ouptut this is a sample transcript of what your program should do. values in the transcript in bold show the user inputs. so in this transcript the user inputs 33, jeremy, 24, -16, 80 and 0 - the rest is output from the program.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:30
Define a function printfeetinchshort, with int parameters numfeet and numinches, that prints using ' and " shorthand. ex: printfeetinchshort(5, 8) prints: 5' 8"
Answers: 1
question
Computers and Technology, 23.06.2019 03:10
Fill in the following program so that it will correctly calculate the price of the orange juice the user is buying based on the buy one get one sale.#include //main functionint main() { int cartons; float price, total; //prompt user for input information printf("what is the cost of one container of oj in dollars? \n"); scanf(" [ select ] ["%d", "%c", "%f", "%lf"] ", & price); printf("how many containers are you buying? \n"); scanf(" [ select ] ["%d", "%c", "%f", "%lf"] ", & cartons); if ( [ select ] ["cartons / 2", "cartons % 1", "cartons % 2", "cartons % price", "cartons / price", "cartons / total"] [ select ] ["=", "==", "! =", "< =", "> =", "< "] 0) total = [ select ] ["price * cartons", "cartons * price / 2 + price", "(cartons / 2) * price", "cartons / (2.0 * price)", "(cartons / 2.0) * price + price", "((cartons / 2) * price) + price"] ; else total = ((cartons / 2) * price) + price; printf("the total cost is $%.2f.\n", total); return 0; }
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
In which of the following ways can using test-taking tips you? a. you can focus on the information that you need to study. b. you will see the answers to the test. c. you will study more. d. you will be less organized.
Answers: 1
question
Computers and Technology, 23.06.2019 22:00
Technician a says engine assemblies can be mounted longitudinally in a chassis. technician b says engine assemblies can be mounted transversely in a chassis. who is correct?
Answers: 2
You know the right answer?
For this project you will write a java program that will run a simple math quiz. your program will g...
Questions
question
Chemistry, 28.10.2020 23:30
question
Mathematics, 28.10.2020 23:30
question
Business, 28.10.2020 23:30
question
Mathematics, 28.10.2020 23:30
question
Chemistry, 28.10.2020 23:30
question
Mathematics, 28.10.2020 23:30
question
History, 28.10.2020 23:30
question
Mathematics, 28.10.2020 23:30
Questions on the website: 13722360