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:
The correct answer to the following question will be Error-detection.
Explanation:
Error-detection: The detection of errors caused during the transmission from the transmitter to the receiver by damage and other noises, known as Error-detection. This error-detection has the ability to resolute if something went wrong and if any error occurs in the program.
There are mainly three types of error-detection, these types can be followed:
- Automatic Repeat Request (ARQ)
- Forward Error Correction
- Hybrid Schemes
There are two methods for error-detection, such as:
- Single parity check
- Two-dimensional parity check
He must consider all of these because the database is the foundation and you Will come to a lot of problems later on in the road if the foundation is faulty
For me its chart graph because you're able to visualize the given numbers and its not confusing
The answer is false .
The letterhead is organized with appropriate information on the top and bottom of the letter with most of the space left to enter the letter contents.
hope this helps.