/*Copyright ElohimTov LLC*/ /* //Name: ElohimTov Solve Code - Hello World - C Solution //Problem: HackerRank - 30 Days of Code - Hello World //Current File: ElohimTovSolve_HelloWorld.(c).txt //Compile-able File: ElohimTovSolve_HelloWorld.c //Date: Created 05/04/2020; 12/31/2021. //Tale: ElohimTov Solve's Solution to HackerRank.com's // Hello World problem in C programming language. // Problem link at https://elohimtov.com/elohimtov.info. */ #include #include #include #include int main() { /*Declare a variable named 'input_string' to hold our input.*/ char input_string[105]; /*Read a full line of input from stdin and save it to our variable, input_string.*/ scanf("%[^\n]", input_string); /*Print a string literal saying "Hello, World." to stdout using printf.*/ printf("Hello, World.\n"); /*TODO: Write a line of code here that prints the contents of input_string to stdout.*/ printf("%s\n", input_string); return 0; } /*Copyright ElohimTov LLC*/