Java Stdin and Stdout I

Sort by

recency

|

564 Discussions

|

  • + 0 comments

    We can also use for loop to achieve the intended results.

    import java.util.*;

    public class Solution {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
    
        for(int i = 0; i < 3; i++){
          int a = scan.nextInt();
          System.out.println(a);
         }
    
         scan.close();
    }
    

    }

  • + 0 comments

    import java.util.*;

    public class Solution {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
    
        System.out.println(a);
        System.out.println(b);
         System.out.println(c);
        // Complete this line
        // Complete this line
    }
    

    }

  • + 0 comments

    Packaging Castle offers customized boxes for packaging, designed to meet your product’s specific needs. These personalized boxes provide superior protection, enhance brand identity, and create a memorable unboxing experience for your customers.

  • + 0 comments

    import java.util.*;

    public class Solution {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        // Complete this line
        // Complete this line
    
        System.out.println(a);
            System.out.println(b);
        System.out.println(c);
    
        // Complete this line
        // Complete this line
    }
    

    }

  • + 0 comments

    Null's Brawl is a modified version of Brawl Stars, offering unlocked characters, unlimited resources, and customized gameplay. It allows players to experience the game with enhanced features and no restrictions.