Answer:
import java.util.Random;
class Main {
public int stopAtFive (int j) {
Random rand = new Random();
int number = 0;
for(int i=0; i<j; i++) {
number = rand.nextInt(9)+1;
System.out.println(number);
if (number == 5) {
System.out.println();
break;
}
}
return number;
}
public static void main(String args[]) {
Main main = new Main();
main.stopAtFive(20);
main.stopAtFive(20);
}
}
Explanation:
Your requirements do not say what has to be displayed or returned from the method, but you can use this as a starting point.
Answer: my suggestion is to ask a teacher and do research like look up the best shoe companies and things like that
Explanation:
Answer:
CD Writer or DVD Writer
Explanation:
The DVD Writer/CD Writer is a multipurpose rewriteable drive that can read audio, data, and video files and can record, or write, in both CD and DVD formats. This DVD Writer/CD Writer drive enables you to: Create custom audio, data, and video files that can be recorded onto CDs or DVDs. Store large amounts of data.
Answer:
Algorithm
1.Start.
2.Using an input function, ask the user to input the name and store the Entered Value in string variable.
3.Print value stored in String Variable.
4.End.
Flow chart:
Answer:
b
Explanation:
if you look at the end of the code it brings c back but for it to do that it has to make a newline.