diff --git a/Java Loops II.java b/Java Loops II.java new file mode 100644 index 0000000..0842b56 --- /dev/null +++ b/Java Loops II.java @@ -0,0 +1,23 @@ +import java.util.*; +import java.io.*; + +class Solution{ + public static void main(String []argh){ + Scanner in = new Scanner(System.in); + int t = in.nextInt(); + for (int i = 0; i < t; i++) { + int a = in.nextInt(); + int b = in.nextInt(); + int n = in.nextInt(); + int sum=a+b; + System.out.print(sum); + for(int l =1; l