Solution:
The following program will be run using Read Console A and Write Console A and it also displays the name of the user surrounded by asterisks
# include <iostream> 
# include <cstring> 
using namespace std;
int main(){
 char name[31];
 cout <<"What is your name? "; 
 cin.getline(name,30,'\\'); 
 for(int i=1; i<=30 ; i++){
 cout<<"*";
 }
 int spaces = 30 - strlen(name)-1; 
 cout<<endl<<"*"<<name; 
 for(int space=1; space<spaces; space++){ 
 cout<<" ";
 } 
 cout<<"*"<<endl;
 for(int i=1; i<=30 ; i++){ 
 cout<<"*"; 
 }
 return 0 
}