Hackerrank hello world solution in c
Watch Video:
Code::
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
int main()
{
char s[100];
scanf("%[^\n]%*c", &s);
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
printf("Hello, World!\n");
printf("%s",s);
return 0;
}
Comments
Post a Comment