can someone help me remove the nested loop out of this?
import java.util.*; public class Gauntlet { public static void main(String[] args) { Sca