Hello World (C)

pyramid shadow on computer monitor with code editor

#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>

int main() {
    char input_string[105];

    // basic input
    scanf("%[^\n]", input_string);

    // basic output
    printf("Hello, World.\n");
    printf("%s", input_string);

    return 0;
}

Be the first to comment

Leave a Reply

Your email address will not be published.


*