NEED ANSWER IN C++Instructions: In most companies the amount of vacation you rec
ID: 441325 • Letter: N
Question
NEED ANSWER IN C++Instructions: In most companies the amount of vacation you receive depends on the number of years you've been with the company. Create a c++ program that will allow the user to enter the number of years and you output the weeks of vacation according to the following: 0 years, 0 weeks vacation 1-5 years, 1 weeks vacation 6-10 years, 2 weeks vacation 11+ years, 3 weeks vacation Prompt the user if they would like to enter another employee. Also personalize your program by naming your company!Explanation / Answer
#includeusing namespace std; int main() { int years; coutyears; if(years==0) coutRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.