To measure the pollution of a particular river, one must take the sample of the river and take the sample of pure water, then draw the conclusion, it will tell the amount of pollution in the river water.
<h3>What is pollution?</h3>
Pollution is the mixing of unwanted or harmful things in any substance or compound.
Water pollution is the mixing of toxics and chemicals in water.
Thus, to measure the pollution of a particular river, one must take the sample of the river and take the sample of pure water, then draw the conclusion, it will tell the amount of pollution in the river water.
Learn more about pollution
brainly.com/question/23857736
#SPJ1
What type of program would have a class named Student with objects called fullTime and partTime?
A. machine language program
B. object-oriented program
C. markup language program
D. procedural language program
Answer:
B. object-oriented program
Explanation:
An object-oriented program or OOP is a type of program that uses the concepts of objects and methods.
Although they are quite broad, they also make use of classes and types.
Java, for instance makes use of OOP as they use classes and objects under those classes and name them anyhow they want.
Therefore, the correct answer is B
Answer:
import java.util.Scanner;
public class num8 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Enter month's budget");
double monthBudget = in.nextDouble();
double totalExpenses = 0.0;
double n;
do{
System.out.println("Enter expenses Enter zero to stop");
n = in.nextDouble();
totalExpenses += n;
}while(n>0);
System.out.println("Total expenses is "+totalExpenses);
System.out.println("The amount over your budget is "+ Math.abs(monthBudget-totalExpenses));
}
}
Explanation:
- Using Java programming language
- Prompt user for month's budget
- Use Scanner class to receive and store the amount entered in a variable
- Use a do while loop to continuously request user to enter amount of expenses
- Use a variable totalExpenses to add up all the expenses inside the do while loop
- Terminate the loop when user enters 0 as amount.
- Subtract totalExpenses from monthBudget and display the difference as the amount over the budget
Answer: Robert H. Goddard
Explanation: he developed and flew the first liquid-propellant rocket
B.
it's literally common sense