Question: im using java, i dont know what i did wrong Pretest: Unit 3: Looping and repetition Write a program that checks to see if a

Pretest: Unit 3: Looping and repetition Write a program that checks to see if a number (entered by the user) is prime. Remember that a prime number is a number that is only divisible by itself and one. Warnings (2 items) Duplicate local variable Writable Smart insert 5 } eclipse-workspace - helloworld.shared/src/m Update Apple ID Settings FOTO: 2.9# Same account services will not be helloworld.shared/pom.xml Simple1.java available until you sign in again. Homework 1.java 1 import java.util.Scanner; 2 public class Quizunit2 { 3 4e public static void main(String[] args) { // TODO Auto-generated method stub 6 7 8 9 int number = 23; 10 boolean flag= false 119 for(int i = 2; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
