Write a C++ program to print the following message.

 #include<iostream>

using namespace std;
int main()
{
cout<<"C"<<endl;
cout<<"O M"<<endl;
cout<<"P U T"<<endl;
cout<<"E R I S"<<endl;
cout<<"A W O R L"<<endl;
cout<<"D O F S"<<endl;
cout<<"C I E"<<endl;
cout<<"N C"<<endl;
cout<<"E"<<endl;
}

OUTPUT

C

O M

P U T

E R I S

A W O R L

D O F S

C I E

N C

E




No comments:

Post a Comment