C++ Basic Welcome Program
This program is based on a simple & a very basic welcome program in C + +.
Algorithm:
1.Start
2.Get the input from user (ie) name
3.Print "We Welcome" name "To C + + Programming"
4.Stop.
Program:
# include <iostream.h>
# include <conio.h>
void main ()
{
clrscr ();
char name [20];
cout << "Enter Name:";
cin >> name;
clrscr ();
cout << "We Welcome" << name << "To C + + Programming";
getch ();
}
Algorithm:
1.Start
2.Get the input from user (ie) name
3.Print "We Welcome" name "To C + + Programming"
4.Stop.
Program:
# include <iostream.h>
# include <conio.h>
void main ()
{
clrscr ();
char name [20];
cout << "Enter Name:";
cin >> name;
clrscr ();
cout << "We Welcome" << name << "To C + + Programming";
getch ();
}
No comments