Answer:
import java.util.Scanner;
public class TestClock {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Enter two integer numbers");
int num1 = in.nextInt();
int num2 = in.nextInt();
int newSum=num1+10;
System.out.println("The first number is "+num1);
do{
System.out.println(newSum);
newSum +=10;
}while (newSum <=num2);
}
}
Explanation:
Using Java Programming language
- Prompt user for the two inputs and save them as num1 and num2(Using the scanner class)
- Create a new Variable newSum = num1+10
- Create a do...while loop to continually print the value of newSum, and increment it by 10 while it is less or equal to num2
All of them are available
Answer:
the output of the above program is
2 3
3 5
8
Explanation:
It seems the program is trying to pair two numbers into one and leaving the unpaired number (in a case of odd number of numbers) as a separate output.
This is why numbers 2 and 3 form 23, numbers 3 and 5 form 35 and 8 is another output of the program.
Answer:
An effective policy is the procedure that are manually clear and easy to understand in an organisation. It basically define as the set of rules and principles in a system to guide the decision and fulfill their desired goals.
An effective policy is error free and has high efficiency. Basically, it is the set of various ideas that can be used for decision making.
Some of the effective policies are:
- The idea and plan are tested before its implementation in the system.
- The result should be efficient and in measurable terms.
- The ideas and assumptions are explicit in the nature.