JessieMCQ16

Run Settings
LanguageJava
Language Version
Run Command
public class Main { public static void stars(int num) { if (num == 1) { return; } stars(num -1); for (int i = 0; i < num; i++) { System.out.print("*"); } System.out.println(); } public static void main(String[] args) { // Jessie Zeng // AP CS A // MCQ 16 stars(5); // Output: // ** // *** // **** // ***** // (B) } }
Editor Settings
Theme
Key bindings
Full width
Lines