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:
A peer-to-peer (p2p) network provides a scalable and fault-tolerant mechanism to locate nodes anywhere on a network without maintaining large amount of routing state. This allows for a variety of applications beyond simple file sharing, including in multicast systems, anonymous communications systems, and web caches.
Explanation:
Not hard at all ma'am.
A. Increase the cell width this is because there is not enough room in the cell to display the number that was given.
It is true that template files can contain items such as text, tables, images and lists
Explanation:
A template is a pre-designed document file that is formatted within a default layout and is used to help users create new documents such as letters, tables, resumes, presentations, and reports. A resume template, for instance, already contains placeholder text that users can use to replace text information of their own. It would most likely have a blank space for details like your name, address, and contact information. Some programs have templates that are pre-built while others can be created from scratch. Microsoft PowerPoint has design templates that contain visual representation of images as well. These images help achieve document cohesion.
Learn more about templates
brainly.com/question/3137525
#LearnWithBrainly