public class Main {
Код: Выделить всё
public static void main(String[] args) {
String[] cars = new String[3];
cars[0] = "bmw";
cars[1] = "tesla";
cars[2] = "lambo";
String[] questions = new String[3];
questions[0] = "What Is The First Car?";
questions[1] = "What Is The Second Car?";
questions[2] = "What Is The Third Car?";
for (int i=0, x=1; i
Источник: [url]https://stackoverflow.com/questions/78133515/i-want-to-make-a-for-loop-that-asks-and-answers-its-questions-but-i-think-i-want[/url]