ITP120 Northern Virginia Logical Operators and Repetition Java Program Design
Question
Please review the operators we covered in class today (04/15/2019) (Arithmetic, Relational and Logical) and the associated Truth Tables for logical operators.
Design a java program that finds and output all integer values (numbers) between 1 and 1,000,1000 that are divisible by 7, 11 and 13 at the same time. Pleas attach your java source-code and a screen-shot of your output to Bb.
This is how he started the the project in class. I will compile and run it on textpad 8 when you send me. Make sure it is running correctly!!
public class Divisible {
public class void main(String arg[] ) {
for (int n – 1; n <=1,000,1000 ; n = n+1 ) {
if ((n % 7 == 0) &&
System.out.println(“n=” + n);
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."