NB- Solution is emboldened
import java.util.Scanner;
import java.util.Random;
public class RandomGenerateNumbers {
public static void main (String [] args) {
Random randGen = new Random();
int seedVal = 0;
seedVal = 4;
randGen.setSeed(seedVal);
System.out.println(randGen.nextInt(50) + 100);
System.out.println(randGen.nextInt(50) + 100);
return;
}
}
Answer:
B=30
Step-by-step explanation:
Like and give 5 star rating
Answer:
110 the right one
Step-by-step explanation:
Answer:
Volume of the liquid left in the container will be 80 ml.
Step-by-step explanation:
Two containers A and B having equal volumes of the liquid has been shown in the figure attached.
Let the volume of the liquid in each container = x ml
120 ml of the liquid was poured in container B from container A.
Volume of liquid in container B = 4 × Volume of the liquid in container A
x + 120 = 4(x - 120)
x + 120 = 4x - 480
4x - x = 480 + 120
3x = 600
x = 200 ml
Volume of the liquid left in container A = 200 - 120
= 80 ml
Therefore, volume of the liquid left in the container A will be 80 ml.