B.
(a)
The student wants to measure the volume of stone A Stone A cannot be measured using a metre
rule as the stone is an regular shape.
Describe how the student
could determine the volume of stone
A by putting it into water.
Answers
Answered by
0
Explanation:
import java.util.Scanner; import java.io.File; import java.io.IOException; public class DoPayroll { public static void main(String args[]) throws IOException { Scanner diskScanner = new Scanner(new File("EmployeeInfo.txt")); for (int empNum = 1; empNum <= 3; empNum++) { payOneEmployee(diskScanner); } diskScanner.close(); } static void payOneEmployee(Scanner aScanner) { Employee anEmployee = new Employee(); anEmployee.setName(aScanner.nextLine()); anEmployee.setJobTitle(aScanner.nextLine()); anEmployee.cutCheck(aScanner.nextDouble()); aScanner.nextLine(); } }
Similar questions
Hindi,
2 months ago
Computer Science,
2 months ago
Economy,
4 months ago
Math,
10 months ago
Physics,
10 months ago