Answer:
<u>Output</u>
Enter first number:
1
Enter second number:
2
Enter third number:
3
Enter fourth number:
4
Average: 2.5
Explanation:
Below is the java program to calculate the average of four numbers:-
import java.util.Scanner;
public class Average {
public static void main(String[] args){
int a,b,c,d;
double average=0.0;
Scanner s=new Scanner(System.in);
System.out.println("Enter first number: ");
a=s.nextInt();
System.out.println("Enter second number: ");
b=s.nextInt();
System.out.println("Enter third number: ");
c=s.nextInt();
System.out.println("Enter fourth number: ");
d=s.nextInt();
average=(a+b+c+d)/4.0;
System.out.println("Average: "+average);
}
}
<span>Which of the following is important to consider before believing health or fitness information you find online?
The right answer is C) </span>The qualifications of the author.
We should not believe in information about health and fitness if the author isn't qualified to give it.
You would use a line graph because, line graphs show you the slope. The slope represents a change in data.
Answer:
on word you can use shortcut "Shift+f3" to change uppercase lowercase and title case if that is what you are asking for