Java Stdin and Stdout I

Sort by

recency

|

565 Discussions

|

  • + 0 comments

    A dog car seat is the perfect solution for keeping your pet safe and comfortable during car rides. These seats are designed to securely hold your dog in place, preventing them from jumping around or causing distractions while driving. They also provide extra comfort with padded interiors and adjustable straps for a snug fit. Whether you're heading on a road trip or just going for a quick drive, a dog car seat ensures your pet's safety. Find your ideal dog car seat here

  • + 1 comment

    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
    }
    

    }