mirror of
https://github.com/System-End/APCSA.git
synced 2026-04-20 00:35:22 +00:00
20 lines
522 B
Java
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){
|
|
|
|
}
|
|
*/
|
|
}
|