Write a program that produces the following output:
**********************************
* Programming Assignment 1 *
* Computer Programming I *
* Author: ??? *
* Due Date: Thursday, Jan. 24 *
**********************************
In your program, substitute ??? with your own name. If necessary, adjust the positions and the number of the stars to produce a rectangle.
#include <bits/stdc++.h>
using namespace std;
int main()
{
cout<<"**********************************"<<endl;
cout<<"* Programming Assignment 1 *"<<endl;
cout<<"* Computer Programming I *"<<endl;
cout<<"* Author: Abhi *"<<endl;
cout<<"* Due Date: Thursday, Jan. 24 *"<<endl;
cout<<"**********************************"<<endl;
return 0;
}
Comments
Leave a comment