Answer:
Yes, i mean come at me lol
Explanation:
Answer:
Secondary storage is needed to keep programs and data long term. Secondary storage is non-volatile , long-term storage. Without secondary storage all programs and data would be lost the moment the computer is switched off.
External storage enables users to store data separately from a computer's main or primary storage and memory at a relatively low cost. It increases storage capacity without having to open up a system.
It's D because all of this are TRUE.
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.