In: Computer Science
Printf (“ This \nis\na\nC\nprogram. \n”);
Printf(“\n This is \ a \n C program. “) ;
C C C C C
C
C
C
Solution:
#include <stdio.h>
int main(void) 
{
  /*Print the message “ I start to learn a C – Program “ on two lines where the first line ends with “learn”.*/
  printf(" I start to learn\n a C – Program ");
  printf (" \nThis \nis\na\nC\nprogram. \n");
  printf("\n This is  a \n C program. ") ;
  printf("\nC\tC\tC\tC\tC\n");
  printf("\tC\n");
  printf("\t\tC\n");
  printf("\t\t\tC\n");
  int a = 45, b = 55, c = 65, n;
  float mean = (float)(a+b+c)/3;
  printf("\nMean of three numbers: %f", mean);
  printf("\nEnter a number: "); 
  scanf("%d", &n);
  if(n>10)
    printf("\nNumber is greater than 10.");
  else
    printf("\nNumber is less than 10.");
  return 0;
}
Output:

Please give thumbsup, or do comment in case of any query. Thanks.