Answer:
import java.util.Scanner;
public class CocaColaVendingTest {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.println("Enter the total number of calls received");
int callsReceived = input.nextInt();
System.out.println("Enter the total number of operators");
int operatorsOnCall = input.nextInt();
int callsPerOperator = callsReceived/operatorsOnCall;
System.out.println("The number of calls per operator is "+callsPerOperator);
}
}
Explanation:
A complete Java code is given above. The user is prompted to enter the values for the number of calls received and the number of operators. These are stored in the respective variables.
Using an Integer division, the number of calls per operator is obtained by: callsPerOperator = callsReceived/operatorsOnCall;
Answer:
import java.util.Scanner;
public class num6 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int product=0;
do{
System.out.println("Enter a number");
int num = in.nextInt();
product = num*10;
System.out.println("The product is " + product);
}while (product<100);
}
}
Explanation:
In the Java program above, The user will be prompted to enter a number.
The number is multiplied by 10 and assigned to a variable called product.
A do....while loop has been implemented to check the variable product
As long as this variable is less than 10, the user will be prompted to enter another number.
Answer:
The end parameter basically prints after all the output objects present in one output statement have been returned. the sep parameter differentiates between the objects.
Explanation:
Hope this helps
https://www.edureka.co/community/53505/difference-between-end-and-sep#:~:text=end%20and%20sep%20are%20optional,parameter%20differentiates%20between%20the%20objects.
Hi I would have to say B sorry if this answer is sucky but I'm trying my best to help you :D
Answer:
The period of fifth generation is 1980-till date. In the fifth generation, VLSI technology became ULSI (Ultra Large Scale Integration) technology, resulting in the production of microprocessor chips having ten million electronic components
Fifth-generation languages are used mainly in artificial intelligence research. OPS5 and Mercury are examples of fifth-generation languages. as is ICAD, which was built upon Lisp. KL-ONE is an example of a related idea, a frame language
Explanation: