APCSA/U5/L2/U5_L2_Coding_Activity_Three.java
2026-03-25 09:44:12 -07:00

20 lines
522 B
Java

/* Lesson 2 Coding Activity Question 3 */
import java.util.Scanner;
public class U5_L2_Activity_Three {
/* Add the method printDouble() here */
public static void printDouble(double num, int n) {
for (int i = 0; i < n; i++) {
System.out.println(num);
}
}
// You can uncomment and add to the main method to test your code
// You will need to remove/comment out this method before checking your code for a score
/*
public static void main(String[] args){
}
*/
}