Java Loops II

  • + 0 comments

    import java.util.; import java.io.;

    class Solution{ public static void main(String []args){ Scanner in = new Scanner(System.in); int t=in.nextInt(); for(int i=0;iorder(a,b,n); } in.close(); } static void order(int a,int b,int n){ int sum=a+(1*b); System.out.print(sum+" "); int c=2; for(int i=1;i System.out.println(); } }