Question
What am I doing wrong with the perfect code? I finished the code, and compile, but I can not get the factoring answer that from
What am I doing wrong with the perfect code?
I finished the code, and compile, but I can not get the factoring answer that from the code as the example.
The question is is how to fix it or is I need to add more into the code to reach the answer.
This is my code import java.util.Scanner; public class Perfect { public static void main (String args[]) { Scanner i = new Scanner(System.in); int numbers; int perfect; do { System.out.print("How many numbers would you like to test?"); numbers=i.nextInt(); } while (numbers <1); for (int count = 0; count
This is is the output of my code
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started