A program that is required to three (3) numbers. calculate and print their total is given below:
<h3>The Program</h3>
import java.util.Scanner;
public class SumAndAverage {
public static void main(String[ ] args) {
System.out.println("Enter three numbers - ");
// Accepting and finding sum of numbers.
int sum = 0;
Scanner sc = new Scanner(System.in);
for (int i = 0; i < 3; i++)
sum += sc.nextInt( );
// Printing sum and average.
System.out.println("Sum - " + sum);
System.out.println("Average - " + (sum / 3f));
}
}
The output would request three different numbers, then add them up, and display the output of the sum and then display or print their total
Read more about programming here:
brainly.com/question/23275071
#SPJ1
Answer:
2
Explanation:
The second option is the only one that will work. The last would work but doesn't make the code any shorter.
37 most likely.
No programming language is specified, and you didn't put what the function is, so assuming it's already implemented, MAX should display the highest number.
Answer: User the insert screen recording control
Explanation:
Since Ishmael wants to capture a selected potion of his screen l, after which he'll then capture the action that he performs on that selected portion, he should use the insert screen recording control.
It should be noted that on most keyboards, there's an "insert screen" button. Also, Ishmael can simply open the window that he wants to screenshot and then click the screenshot button.
Therefore, the correct option is B.