Skip to main content

Posts

Showing posts with the label Java Loops II Hackerrank Solution

Java Loops II Hackerrank Solution

  Java Loops II Hackerrank Solution Do Check My Video Solution: Solution: 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  val = a;          ...