Добавить
Уведомления

Java Practice It || 3.10 printStrings || method basics

Question: Write a method called printStrings that accepts a String and a number of repetitions as parameters and prints that String the given number of times. For example, the call: printStrings("abc", 5); will print the following output: abcabcabcabcabc Problem: https://practiceit.cs.washington.edu/problem/view/bjp5/chapter3/s10-printStrings

12+
14 просмотров
2 года назад
5 декабря 2023 г.
12+
14 просмотров
2 года назад
5 декабря 2023 г.

Question: Write a method called printStrings that accepts a String and a number of repetitions as parameters and prints that String the given number of times. For example, the call: printStrings("abc", 5); will print the following output: abcabcabcabcabc Problem: https://practiceit.cs.washington.edu/problem/view/bjp5/chapter3/s10-printStrings

, чтобы оставлять комментарии