im supposed to do this
Main Menu
A – Arithmetic Series
B – Geometric Series
C – Harmonic Mean
D – Geometric mean
E - Taylor Polynomial of Degree n
F – Largest Prime Number
Enter your choice:
inside a box
my code is
#include <iostream>
#include <cfloat>
using namespace std;
int main(){
string menu;
cout<<"_._._._._._._._._._._._._._._._._._\n";
cout<<"| Main Menu |\n";
cout<<"| |\n";
cout<<"|A - Arithmetic Series |\n";
cout<<"|B - Geometric Series |\n";
cout<<"|C - Harmonic Mean |\n";
cout<<"|D - Geometric Mean |\n";
cout<<"|E - Taylor Polynomial of Degree n |\n";
cout<<"|F - Largest Prime Number |\n";
cout<<"|Enter your choice:\n";
cin>> menu;
cout<<"_._._._._._._._._._._._._._._._._._\n";
}
can someone help me out? i need to input a letter inside the box, but the box wont completely form because of the cin thingy