C Program to Print Welcome

Description

Program should simply display "Welcome".
Sample Output:
Welcome

Solution

//Program to print Welcome Message
#include<stdio.h>
int main()
{
	printf("Welcome");
	return  0;
}

Explanation

printf is a function available(pre defined) in C library which is used to print the specified
content in Monitor. 

Here it prints the String literal "Welcome".



Interesting Pattern Programs: for more Patterns

Input:
5
Output:
*
**
***
****
*****
****
***
**
*Solution
Input:
5
Output:
    *
   ***
  *****
 *******
*********
 *******
  *****
   ***
    *Solution
Input:
5
Output:
*        *
**      **
***    ***
****  ****
**********Solution
Input:
5
Output:
*       *
**     **
***   ***
**** ****
*********Solution
Input:
5
Output:
*       *
**     **
***   ***
**** ****
*********
**** ****
***   ***
**     **
*       *Solution
Input:
5
Output:
*********
 *******
  *****
   ***
    *
   ***
  *****
 *******
*********Solution