Printing a line using newline

Problem statement
 Write a c program to print this on the terminal
hi
hello

#include<stdio.h>
int main()
{
  printf("hi \n");
  printf("hello \n");
  return 0;
}

No comments:

Post a Comment