Sort by

recency

|

1425 Discussions

|

  • + 0 comments

    Java is one of those rare programming languages that has truly stood the test of time. Its “write once, run anywhere” philosophy, strong object-oriented design. Fairplay24.in Login

  • + 0 comments

    This task is a great exercise for practicing loops and understanding how multiplication works in programming! Raja567 login

  • + 0 comments

    For Java15

    import java.util.Scanner;
    
    class Solution
    {
        public static void main(String args[])
        {
            Scanner sc = new Scanner(System.in);
            int n = sc.nextInt();
            sc.close();
            
            for(int i=1; i<=10; i++)
            {
                System.out.println(n + " x " + i + " = " + n*i);
            } 
        }
    }
    
  • + 0 comments

    BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));

        int N = Integer.parseInt(bufferedReader.readLine().trim());
        for(int i=1; i<=10; i++){
            System.out.println(N + " x " + i + " = " + (N*i));
        }
    
        bufferedReader.close();
    }
    
  • + 0 comments

    Java may be old, but it’s still going strong. I love how reliable and versatile it is, especially for large-scale applications! fairplay.com