Do you go to BASIS?
Sorry I don't have an answer for you, but we have the same assignment in our AP Comp sci class.
Just wondering.
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
It’s exercise tax $5 tax on a cable television line
hope this helped
~ mo
Answer:
You could add pictures to help convey the viewer, while capturing their attention. It will provide great interest as well.
Explanation:
Me being a viewer, I love to see pictures. They help explain the topic, while keeping my attention.