Answer:
import java.util.Scanner;
public class TestClock {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int sum = 0;
char op;
do{
System.out.println("Enter two numbers");
int num1= in.nextInt();
int num2 = in.nextInt();
sum = sum+num1+num2;
System.out.println("Do you wish to perform another operation, Y/N");
op =in.next().charAt(0);
}while(op =='Y'||op=='y');
System.out.println("sum "+sum);
}
}
Explanation:
The code is implemented in Java progrmming language
- create an integer variable sum
- create a character variable op
- create a do while loop to request user to enter num1 and num2
- Request the user to also enter a char Y/N (yes or no repectively)
- While the char is Y keep adding up the sum and prompt the user to enter two new numbers
- Else break out of the loop and print the sum
Answer:
Explanation:
Let's do this in Python, we will accept 2 arguments, the student name and an array of the 10 scores. The function would sort the scores out, get the last 6 scores, take the sum and finally out put them with the student name:
def total_six_highest_score(name, scores):
scores.sort()
highest_six_scores = scores[4:]
total_highest = sum(highest_six_scores)
return name, total_highest
Answer:
The appropriate answer is "Distributed system".
Explanation:
- Whenever used by linking several autonomous computers as a single system, considered as distributed system. It could be consist of several kinds of mainframes, processors as well as stationary machines, it can be programmed.
- A distributed machine has massive program modules, which operate as a single device on many machines.
True they would not start to use a product if it would not work
Hope this helps please mark this as brainliest answer
Answer:
prompt box
Explanation:
the term has changed over the years.