Note:
% is Modulus,
So it's taken as num mod 7, if that evaluates to 0 there is no reminder therefore divisible by 7.
Answer:
one inch=25.4
12 meters=13.12
10 quarts=9.46
12 milliliters=0.0004
400 pounds= 181 kg
25 meters/second=82
68F=20C
Explanation:
heres the full ones
one inch=25.4
12 meters=13.1234 yards
10 quarts=9.46353
12 milliliters=0.000405768
400 pounds=181.437
25m/s=82.021f/s
68f=20C
Answer:
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("How many numbers do you want to add?");
int numberOfNumbers = scanner.nextInt();
int arrayNumbers[] = new int[numberOfNumbers];
System.out.println("Enter " + numberOfNumbers + " numbers:\n");
for(int i = 0; i < numberOfNumbers; i++){
int addToArray = scanner.nextInt();
arrayNumbers[i] = addToArray;
}
int sum = 0;
for(int j = 0; j < arrayNumbers.length; j++){
sum+=arrayNumbers[j];
}
System.out.println("Sum: " + sum);
}
}
Explanation: