subject

The following code does not work as intended. it is meant to input two test grades and return the average in decimal format:

int test1 = scan. nextint();
int test2 = scan. nextint();
double average = (test1 + test2 )/2;
system. out. println(" " + average);
which of the following corrections will allow the code to work as intended?

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 23:30, brainbean
Select all that apply. which of the following are proofreading options included in microsoft word? spell check find replace grammar check formatting check
Answers: 1
image
Computers and Technology, 23.06.2019 13:00, jaelynnm
Donnie does not have powerpoint. which method would be best for elana to save and share her presentation as is? a pdf a doc an rtf a ppt
Answers: 3
image
Computers and Technology, 23.06.2019 19:50, Aprillove7939
Which feature is selected to practice and save the timing of a presentation
Answers: 1
image
Computers and Technology, 23.06.2019 22:20, kandi2565
What is a programming method that provides for interactive modules to a website?
Answers: 1
You know the right answer?
The following code does not work as intended. it is meant to input two test grades and return the av...

Questions in other subjects:

Konu
Mathematics, 31.05.2020 10:58
Konu
Mathematics, 31.05.2020 10:58