"Hello World!" in C | HackerRank
Problem Link : "Hello World!" in C
Solution :
Develop by Samsus Salehin Sabbir
- #include <stdio.h>
- #include <string.h>
- #include <math.h>
- #include <stdlib.h>
- int main()
- {
- // declearation
- char s[100];
- //scanf("%[^\n]%*c", &s); // for better option
- fgets(s,100,stdin);
- printf("Hello, World!\n");
- printf("%s",s);
- return 0;
- }
No comments