How would I print out a user input given the certain amount of inputs needed?
import java.util.Scanner;
public class SilentAuction {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int amount = sc.nextInt();
for (int i = 1; i <= amount; i++) {
System.out.println();//need to write "int sm = sc.nextInt;" and "String s = sc.nextLine;"
}
}
}