Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In C++ Career Pathway Plan Write a program that displays the following informati

ID: 3879388 • Letter: I

Question

In C++

Career Pathway Plan

Write a program that displays the following information about your career objective.

• Your name
• Your major
• What your ideal job would be like
• Three schools to which you are considering transferring
• What you consider the greatest impediments you might have in reaching your goal
• What you plan to do to succeed in achieving your goal

Use a menu and give the user the option to select the information they want to see. For example:

Joe Dokes' Career Pathway Plan

Choose an option:
M - Major
J - My ideal job
S - Schools I'd like to go to
I - Impediments I face
G - How I plan to reach my goals
Q - Quit

Clicking Q ends the program.

Write separate functions for each of the five options.

Make sure the program only accepts M, J, S, I, G and Q, (upper and lower case letters), that validation prevents the user from entering an invalid character.

Write the program using a text editor. Compile the program using the command prompt and save as a text file with the .cpp extension. Submit the .cpp file, do not submit the .exe file.

Can you please show that it compiles correctly and use while or do while loops in the code?

Explanation / Answer

AS per your requirement the below one is solution please follow it

SourceCode:
#include<iostream>
#include<stdlib.h>
using namespace std;
class CareerPathwayPlan
{
public:
void Major()
{
cout<<"My Major Acievements:"<<endl;
cout<<" My Name is Sanjay Ramaswamy:"<<endl;
cout<<" From Vijaywada"<<endl;
}
public:
void MyIdealJob()
{
cout<<" Senior Software Engineer:"<<endl;
}
public:
void Schools()
{
cout<<" My School Details are:"<<endl;
cout<<" -----------------------------"<<endl;
cout<<" 1.A.P.S.R.M.C High School"<<endl;
cout<<" 2.Ramananda Vidyanikethan"<<endl;
cout<<" 3.Sarvodaya Nikethan"<<endl;
cout<<" -----------------------------"<<endl;

}
public:
void Implements()
{
cout<<" -----------------------------"<<endl;
cout<<" Got Gold Medal From The AP C.M YSR"<<endl;
cout<<" -----------------------------"<<endl;

}
public:
void Goals()
{
cout<<" My Goals are:"<<endl;
cout<<" -----------------------------"<<endl;
cout<<" To Become a Chief Minister of AndhraPardesh"<<endl;
cout<<" -----------------------------"<<endl;

}
};
int main()
{
CareerPathwayPlan obj;
char option;
cout<<" -----------------------------------"<<endl;
cout<<" ****Career Pathway Plan Program ****"<<endl;
cout<<" -----------------------------------"<<endl;
while(1)
{
cout<<" -----------------------------"<<endl;
cout<<" MENU"<<endl;
cout<<" M - Major"<<endl;
cout<<" J - My ideal job"<<endl;
cout<<" S - Schools I'd like to go to"<<endl;
cout<<" I - Impediments I face"<<endl;
cout<<" G - How I plan to reach my goals"<<endl;
cout<<" Q - Quit"<<endl;
cout<<" Select Your Choice:"<<endl;
cin>>option;
if(option>=97&&option<=122)
{
option=option-32;
}
switch(option)
{
case 'M':
obj.Major();
break;
case 'j':
obj.MyIdealJob();
break;
case 'S':
obj.Schools();
break;
case 'I':
obj.Implements();
break;
case 'G':
obj.Goals();
break;
case 'Q':
exit(0);
break;
default:
cout<<" Invalid Option"<<endl;
}
}
}


Output:-
-------------------

-----------------------------------

****Career Pathway Plan Program ****

-----------------------------------

-----------------------------

MENU

M - Major

J - My ideal job

S - Schools I'd like to go to

I - Impediments I face

G - How I plan to reach my goals

Q - Quit

Select Your Choice:
m
My Major Acievements:

My Name is Sanjay Ramaswamy:

From Vijaywada

-----------------------------

MENU

M - Major

J - My ideal job

S - Schools I'd like to go to

I - Impediments I face

G - How I plan to reach my goals

Q - Quit

Select Your Choice:
g

My Goals are:

-----------------------------

To Become a Chief Minister of AndhraPardesh

-----------------------------

-----------------------------

MENU

M - Major

J - My ideal job

S - Schools I'd like to go to

I - Impediments I face

G - How I plan to reach my goals

Q - Quit

Select Your Choice:
i

-----------------------------

Got Gold Medal From The AP C.M YSR

-----------------------------

-----------------------------

MENU

M - Major

J - My ideal job

S - Schools I'd like to go to

I - Impediments I face

G - How I plan to reach my goals

Q - Quit
Select Your Choice:
q