Sort by

recency

|

2127 Discussions

|

  • + 0 comments

    include print (hello world); return 0;

  • + 0 comments

    import java.io.; import java.util.; import java.text.; import java.math.; import java.util.regex.*; public class Solution { public static void main(String[] args) { // Create a Scanner object to read input from stdin. Scanner scan = new Scanner(System.in);

        // Read a full line of input from stdin and save it to our variable, inputString.
        String inputString = scan.nextLine(); 
    
        // Close the scanner object, because we've finished reading 
        // all of the input from stdin needed for this challenge.
        scan.close(); 
    
        // Print a string literal saying "Hello, World." to stdout.
        System.out.println("Hello, World.");
        System.out.println(inputString);
    
        // TODO: Write a line of code here that prints the contents of inputString to stdout.
    }
    

    }

  • + 1 comment

    inputString = input() # get a line of input from stdin and save it to our variable

    Your first line of output goes here

    print('Hello, World.')

    Write the second line of output

    print("Welcome to 30 Days of Code!")

  • + 0 comments

    print('hell'

  • + 0 comments

    import java.util.*; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String input = sc.nextLine(); System.out.println("Hello, World."); System.out.println(input); } }