Tuesday, 3 July 2018

problems with solution in c++

Write a program that produces the following output:
**********************************
* Programming Assignment 1 *
* Computer Programming I *
* Author: ??? *
* Due Date: Thursday, Jan. 24 *
**********************************

solution 

#include <iostream>
using namespace std;

int main() {


cout<<"**********************************"<<endl;
 cout<<"* Programming Assignment 1 * "<<endl;
cout<<"* Computer Programming I *\n"<<endl;
 cout<<"* Author: ??? *\n"<<endl;
cout<<"* Due Date: Thursday, Jan. 24 *\n"<<endl;
cout<<"**********************************"<<endl;

}

No comments:

Post a Comment