1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
arlik [135]
4 years ago
8

1. (8 pts) Write an application that is including a three-question multiple choice quiz about Java programming language. Each qu

estion must have four possible answers (numbered 1 to 4). Also, ask user to type 0 to exit the test. [Assume that a user enters only integers 1,2,3,4, or 0]. Firstly, display a message that this quiz includes three questions about the Java programming language and display that each question has four possible answers. If the answer is correct for the given question, display that the answer is correct. If the answer is not correct for the given question, display that the answer is wrong. If the user answers three questions correctly, display "Excellent", if two, display "very good", if one or fewer, display "It is time to start to learning Java". After that, ask user whether he or she wants to play again [you can use a boolean variable]. If user inputs true, start the game again. If user inputs false, then display a goodbye message and finish the game [Assume that user enters only true or false]. UPLOAD MyTest.java
Computers and Technology
1 answer:
soldi70 [24.7K]4 years ago
4 0

Answer:

Answer has been attached to this response as a source code file saved as "MyTest.java". Please download the file to check the answer.

Explanation:

Explanation has been added to the answer in the form of comments to the code. Please read the comments carefully to get a clear understanding of the code.

Download java
You might be interested in
John works for Internal Computer Specialists, a company that focuses on helping small business owners resolve MIS infrastructure
Romashka-Z-Leto [24]

Answer:

Hardware.

Explanation:

John is operating with Internal Computer Professionals, an organization committed to assisting sector owners to overcome MIS technology problems. John's duties include maintaining and repairing motherboards, wires, and parts of inner devices including DVDs and hard disks. Although John's appointed for hardware fixation.

3 0
3 years ago
Consider the formula: G=D+(A+C^2)*E/(D+B)^3 Show the order that a processor would follow to calculate G. To do so, break down th
motikmotik

Answer:

1. G=D+(A+C^2)*E/(D+B)^3

cobegin:

p1: (D+B)

p2: p1^3

p3: C^2

p4: A+ p3

p5: E/p2

p6: p4 * p5

p7: D + p6

   :G

coend

2. Now The value A=2, B=4, C=5, D=6, and E=8

p1: 6+4 =10

p2: p1 ^3= 10^3= 1000

p3: c^2= 5^2 =25

p4: A + p3= 2 +25 =27

p5: 8/1000

p6: 27 *8/1000

p7: D+ P6= 6+ 216/1000

      = 6216/1000

      =6.216

Explanation:

The above, first bracket with power is processed, and then power inside and outside bracket. And rest is according to BODMAS, and one process is solved at a time.

4 0
3 years ago
48. Which of the following can be used in the name of a variable?
aleksley [76]

Answer:

Alphabet and digits

Explanation:

A digit cannot be placed at the start of a variable name, but it can be used after the first character has been placed

6 0
3 years ago
Taking notes on a customer complaint is a form of a communication<br> TRUE OR FLASE
almond37 [142]
True because you are seeing the tone and listening to the reasons why they are making the complaint. and your communication to the customer.
3 0
3 years ago
Opposite word of reassembling​
Marysya12 [62]
<h3>OPPOSITE WORDS OF REASSEMBLING</h3>

  • disperse
  • disband
  • separate
8 0
3 years ago
Read 2 more answers
Other questions:
  • What does a company’s code of ethics cover
    8·2 answers
  • What is the main benefit of seeing your document in Page Break Preview?
    9·2 answers
  • If the polar bear were taken out of the food chain what would happen to the seal population
    10·1 answer
  • How do I only give 5 points and not 10?
    7·1 answer
  • PLEASE HELP! Which aspect helps you to change the luminescence of your image?
    10·2 answers
  • Which tab allows you to modify the width of a page margins in Microsoft word?
    7·2 answers
  • What is a relationship between a object and a class?
    7·1 answer
  • The vertical and horizontal scroll bars can be used to aid in navigation throughout the document. true or false
    7·2 answers
  • If you were creating a program that would convert Fahrenheit to Celsius, which kind of variable would you want to use? a string
    7·2 answers
  • Discuss the factors which cause imbalance in the environment.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!