Kattis Problem: Batter Up

Problem Link https://open.kattis.com/problems/batterup Sample Solution import java.util.Scanner; class BatterUp{ public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); float sum = 0, avg=0; int[]…

Kattis Problem: Faktor

Problem Link: https://open.kattis.com/problems/faktor Sample Solution import java.util.Scanner; public class Faktor { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(), i = sc.nextInt(); int…