Grace Hopper X41848


Statement
 

pdf   zip

html

Input The input will be a single line containing the message to print.

Output The output is the COBOL program needed to print the message received in the input.

Public test cases
  • Input

    Hi Grace!

    Output

    IDENTIFICATION DIVISION.
    PROGRAM-ID. HELLO-WORLD.
    * simple hello world program
    PROCEDURE DIVISION.
        DISPLAY 'Hi Grace!'.
        STOP RUN.
  • Information
    Author
    HP CodeWars
    Language
    English
    Official solutions
    Python
    User solutions
    C C++ Haskell Java Python Rust