Write C Program Read N Employees Weekly Hours Rate Per Hour Compute Gross Salary 25 Tax De Q43868192

Write a c++ program to read N employees weekly hours and rateper hour. Compute gross salary, 25% tax deduction, net salary. usefunction for each action

Expert Answer


Answer to Write a c++ program to read N employees weekly hours and rate per hour. Compute gross salary, 25% tax deduction, net sal…

Write C Program Read Nemployees Weekly Hours Rate Pert Computer Gross Salary Deduct Asi Ta Q43862085

Write a C++ program To read Nemployees weekly hours of rate pert Computer gross Salary. Deduct asi Tax Compute Tax ar net SalWrite a C++ program To read Nemployees weekly hours of rate pert Computer gross Salary. Deduct asi Tax Compute Tax ar net Salary. Print gross Salary, Tax, & net salary. Use function for each action. Show transcribed image text Write a C++ program To read Nemployees weekly hours of rate pert Computer gross Salary. Deduct asi Tax Compute Tax ar net Salary. Print gross Salary, Tax, & net salary. Use function for each action.

Expert Answer


Answer to Write a C++ program To read Nemployees weekly hours of rate pert Computer gross Salary. Deduct asi Tax Compute Tax ar ne…

Write C Program Reads Negative Numbers Keyboard Get Cube Program Terminate Working Input N Q43854594

Write a C program that reads negative numbersfrom the keyboard and get their cube. Program will terminate itsworking when input number x is positive.

Expert Answer


Answer to Write a C program that reads negative numbers from the keyboard and get their cube. Program will terminate its working w…

Write C Program Reads Number Feet Converts Meters Displays Result One Foot 305 Meter Q43903700

Write a C++ program that reads a number in feet, converts it tometers, and displays the result. One foot is .305 meter?

Expert Answer


Answer to Write a C++ program that reads a number in feet, converts it to meters, and displays the result. One foot is .305 meter?…

Write C Program Solve Following Multiple Input Greatest Common Divisor Problem Problem 1 S Q43865089

Write a C++ program to solve the followingmultiple-input Greatest Common Divisor problem.
(Problem)
(1) Specify five integer numbers {102, 340, 153, 187, 425} in aninteger array, say A[5].
(2) Develop a recursive function to find the GCD (Great CommonDivisor) of two given integer
numbers.
(3) Use the above recursive function iteratively to find the GCD ofthe above five integer numbers
in A[5]

Expert Answer


Answer to Write a C++ program to solve the following multiple-input Greatest Common Divisor problem. (Problem) (1) Specify five in…

Write C Program Solve Following Multiple Input Greatest Common Divisor Problem Problem 1 S Q43865090

Write a C++ program to solve the followingmultiple-input Greatest Common Divisor problem.
(Problem)
(1) Specify five integer numbers {102, 340, 153, 187, 425} in aninteger array, say A[5].
(2) Develop a recursive function to find the GCD (Great CommonDivisor) of two given integer
numbers.
(3) Use the above recursive function iteratively to find the GCD ofthe above five integer numbers
in A[5]

Expert Answer


Answer to Write a C++ program to solve the following multiple-input Greatest Common Divisor problem. (Problem) (1) Specify five in…

Write C Program Solve Following Multiple Input Greatest Common Divisor Problem Problem 1 S Q43865092

Write a C++ program to solve the followingmultiple-input Greatest Common Divisor problem.
(Problem)
(1) Specify five integer numbers {102, 340, 153, 187, 425} in aninteger array, say A[5].
(2) Develop a recursive function to find the GCD (Great CommonDivisor) of two given integer
numbers.
(3) Use the above recursive function iteratively to find the GCD ofthe above five integer numbers
in A[5]

Expert Answer


Answer to Write a C++ program to solve the following multiple-input Greatest Common Divisor problem. (Problem) (1) Specify five in…

Write C Program Solve Quadratic Equation X2 B X C 0 Given Coefficients B C Running Program Q43870736

Write a C program, to solve the quadratic equation ax2 + b x + c = 0 of given coefficients a, b and c. Whenrunning the program, it prompts for the input of coefficients a,b,cas floating numbers. After inputting three floating numbers, itcomputes and prints out the solutions, then prompts for anotherround of input. Your program will quit when getting input 0,0,0.Your program should handle four situations: (1) a=0, not aquadratic equation; (2) b2 – 4ac = 0, the equation hastwo equal roots; (3) b2 – 4ac < 0, the equation hascomplex roots; (4) b2 – 4ac > 0, the equation hasdistinct real roots. Your program should be robust for invalidinputs.

output:

Please enter the coefficients a,b,c:
1,2,1
The equation has two equal real roots:
-1.000000
Please enter the coefficients a,b,c:
1,2,2
The equation has two complex roots:
-1.000000+1.000000i -1.000000-1.000000i
Please enter the coefficients a,b,c:
2,6,1
The equation has two distinct real roots:
-0.177124 -2.822875
Please enter the coefficients a,b,c:
a,b,c
Invalid input
Please enter the coefficients a,b,c:
1,2
Invalid input
Please enter the coefficients a,b,c:
0,1,2
not a quadratic equation
Please enter the coefficients a,b,c:
0,0,0
Goodbye

Expert Answer


Answer to Write a C program, to solve the quadratic equation a x2 + b x + c = 0 of given coefficients a, b and c. When running the…

Write C Program Solve Quadratic Equation X2 B X C 0 Given Coefficients B C Running Program Q43872592

Write a C program, to solve the quadratic equation ax2 + b x + c = 0 of given coefficients a, b and c. Whenrunning the program, it prompts for the input of coefficients a,b,cas floating numbers. After inputting three floating numbers, itcomputes and prints out the solutions, then prompts for anotherround of input. Your program will quit when getting input 0,0,0.Your program should handle four situations: (1) a=0, not aquadratic equation; (2) b2 – 4ac = 0, the equation hastwo equal roots; (3) b2 – 4ac < 0, the equation hascomplex roots; (4) b2 – 4ac > 0, the equation hasdistinct real roots. Your program should be robust for invalidinputs.

output:

Please enter the coefficients a,b,c:
1,2,1
The equation has two equal real roots:
-1.000000
Please enter the coefficients a,b,c:
1,2,2
The equation has two complex roots:
-1.000000+1.000000i -1.000000-1.000000i
Please enter the coefficients a,b,c:
2,6,1
The equation has two distinct real roots:
-0.177124 -2.822875
Please enter the coefficients a,b,c:
a,b,c
Invalid input
Please enter the coefficients a,b,c:
1,2
Invalid input
Please enter the coefficients a,b,c:
0,1,2
not a quadratic equation
Please enter the coefficients a,b,c:
0,0,0
Goodbye

Expert Answer


Answer to Write a C program, to solve the quadratic equation a x2 + b x + c = 0 of given coefficients a, b and c. When running the…

Write C Program Stores Integer Value 5 Variable Save1 Integer Value 2 Variable Save2 Make Q43904004

a,.chgg-hdr-navigation .nav-item-pipe.sp-item,.chgg-hdr-navigation .nav-item.moreitems-item .links-section>a,.chgg-hdr-navigation .nav-item.sp-item{display:none}.chgg-hdr-navigation .nav-item-pipe{height:100%;width:1px;cursor:initial}.chgg-hdr-navigation .nav-item-pipe:before{content:””;background-color:#000;display:block;position:absolute;top:0;left:0;height:22px;width:1px;padding:0;margin:18px 0;overflow:hidden}.chgg-hdr-navigation .nav-items{height:60px;display:none}.chgg-hdr.type-books .chgg-hdr-navigation .nav-items.books,.chgg-hdr.type-flashcards .chgg-hdr-navigation .nav-items.flashcards,.chgg-hdr.type-home .chgg-hdr-navigation .nav-items.home,.chgg-hdr.type-internships .chgg-hdr-navigation .nav-items.internships,.chgg-hdr.type-mathsolver .chgg-hdr-navigation .nav-items.mathsolver,.chgg-hdr.type-scholarships .chgg-hdr-navigation .nav-items.scholarships,.chgg-hdr.type-study .chgg-hdr-navigation .nav-items.study,.chgg-hdr.type-testprep .chgg-hdr-navigation .nav-items.testprep,.chgg-hdr.type-tutors .chgg-hdr-navigation .nav-items.tutors,.chgg-hdr.type-writing .chgg-hdr-navigation .nav-items.writing{display:inline-block}.chgg-hdr-navigation .nav-hover-box{display:none;position:fixed;background-color:#FFF;border-radius:4px;border:1px solid #DDD;margin-left:-20px;cursor:auto;z-index:1000}.chgg-hdr-navigation .nav-hover-box-section{width:200px;float:left;z-index:19}.chgg-hdr-navigation .carrot{margin-left:10px;bottom:100%;left:8.4px;width:30px;height:15px;position:absolute;overflow:hidden}.chgg-hdr-navigation .carrot:before{content:”;position:absolute;bottom:-1px;left:0;width:13px;height:13px;border:1px solid #DDD;background-color:#FFF;transform:rotate(45deg);transform-origin:left bottom}.chgg-hdr-navigation .links-section{margin:10px 20px;text-align:left}.chgg-hdr-navigation .links-section a{padding:20px 0;display:none;font-family:Aspira-Medium,Helvetica,Arial,Sans-serif;font-size:16px;color:#333}.chgg-hdr-navigation .links-section a:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.chgg-hdr-navigation .links-section a:last-of-type{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.chgg-hdr-navigation .links-section a:not(.loginRqd),.loggedIn .chgg-hdr-navigation .links-section a{display:block}.chgg-hdr-navigation .links-section a.highlight-item{color:#EB7100}.chgg-hdr-navigation .links-section a:hover{font-weight:700;text-decoration:none}@media screen and (max-width:979px){.chgg-hdr:not(.force-desktop) .chgg-hdr-navigation{display:none}}.chgg-hdr .nav-items .moreitems-item,.chgg-hdr .split-nav .moreitems-wrapper{display:none}.C-global-cheggheader-searchbox{float:right;width:100%;padding:12px 0}.C-global-cheggheader-searchbox:not(.expanded) .chg-header-autosuggest{padding:0;width:100%;max-width:330px;height:36px;float:right;overflow:hidden}.C-global-cheggheader-searchbox:not(.expanded) .chg-header-autosuggest #header-autosuggest-input{border-radius:6px;height:36px;line-height:36px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:25px}.C-global-cheggheader-searchbox:not(.expanded) .chg-header-autosuggest #header-autosuggest-input::-webkit-input-placeholder{height:36px;line-height:38px;font-family:Aspira-Bold,Helvetica,Arial,Sans-serif;font-size:13px;color:#767676}.C-global-cheggheader-searchbox:not(.expanded) .chg-header-autosuggest #header-autosuggest-input::-moz-placeholder{height:36px;line-height:34px;font-family:Aspira-Bold,Helvetica,Arial,Sans-serif;font-size:13px;color:#767676}.C-global-cheggheader-searchbox:not(.expanded) .chg-header-autosuggest #header-autosuggest-input:-ms-input-placeholder{height:36px;line-height:36px;font-family:Aspira-Bold,Helvetica,Arial,Sans-serif;font-size:13px;color:#767676}.C-global-cheggheader-searchbox:not(.expanded) .chg-header-autosuggest #header-autosuggest-input:-moz-placeholder{height:36px;line-height:34px;font-family:Aspira-Bold,Helvetica,Arial,Sans-serif;font-size:13px;color:#767676}.C-global-cheggheader-searchbox:not(.expanded) .chg-header-autosuggest .chg-search-form{width:100%;position:relative}.C-global-cheggheader-searchbox:not(.expanded) .chg-header-autosuggest a[data-type=button].autosuggest-search-btn{right:0;top:0;padding-top:6px;border:none;background-color:#EB7100;color:#FFF;font-size:22px;-moz-border-radius:0 6px 6px 0;-webkit-border-radius:0;border-radius:0 6px 6px 0;position:absolute;z-index:1;height:36px;width:36px;box-sizing:border-box;text-align:center;cursor:pointer}.C-global-cheggheader-searchbox:not(.expanded) .chg-header-autosuggest a[data-type=button].autosuggest-search-btn .icn-magnify{display:none;text-indent:-9999px;float:right;position:relative;top:6px;left:-2px;margin:2px 6px;height:15px;width:15px;font-weight:700}.C-global-cheggheader-searchbox:not(.expanded) .chg-header-autosuggest .autosuggest-results-container .autosuggest-row.row{margin:0}.C-global-cheggheader-searchbox:not(.expanded) .chg-header-autosuggest .autosuggest-search-cancel{display:none!important}.C-global-cheggheader-searchbox input[type=text]::-webkit-input-placeholder{font-family:Aspira,Helvetica,Arial,Sans-serif;font-size:18px;color:#DDD;font-weight:400}.C-global-cheggheader-searchbox input[type=text]:-moz-placeholder{font-family:Aspira,Helvetica,Arial,Sans-serif;font-size:18px;color:#DDD;font-weight:400}.C-global-cheggheader-searchbox input[type=text]::-moz-placeholder{font-family:Aspira,Helvetica,Arial,Sans-serif;font-size:18px;color:#DDD;font-weight:400}.C-global-cheggheader-searchbox input[type=text]:-ms-input-placeholder{font-family:Aspira,Helvetica,Arial,Sans-serif;font-size:18px;color:#DDD;font-weight:400}.C-global-cheggheader-searchbox input[type=text]:focus::-webkit-input-placeholder{font-family:Aspira,Helvetica,Arial,Sans-serif;font-size:18px;color:#DDD;font-weight:400}.C-global-cheggheader-searchbox input[type=text]:focus:-moz-placeholder{font-family:Aspira,Helvetica,Arial,Sans-serif;font-size:18px;color:#DDD;font-weight:400}.C-global-cheggheader-searchbox input[type=text]:focus::-moz-placeholder{font-family:Aspira,Helvetica,Arial,Sans-serif;font-size:18px;color:#DDD;font-weight:400}.C-global-cheggheader-searchbox input[type=text]:focus:-ms-input-placeholder{font-family:Aspira,Helvetica,Arial,Sans-serif;font-size:18px;color:#DDD;font-weight:400}.C-global-cheggheader-searchbox .chg-header-autosuggest .chgg-logo,.C-global-cheggheader-searchbox .expanded-wrapper,.C-global-cheggheader-searchbox .search-close,.chgg-hdr.type-assessments .C-global-cheggheader-searchbox .chgg-logo.assessments,.chgg-hdr.type-books .C-global-cheggheader-searchbox .chgg-logo.books,.chgg-hdr.type-flashcards .C-global-cheggheader-searchbox .chgg-logo.flashcards,.chgg-hdr.type-home .C-global-cheggheader-searchbox .chgg-logo.home,.chgg-hdr.type-internships .C-global-cheggheader-searchbox .chgg-logo.internships,.chgg-hdr.type-mathsolver .C-global-cheggheader-searchbox .chgg-logo.mathsolver,.chgg-hdr.type-scholarships .C-global-cheggheader-searchbox .chgg-logo.scholarships,.chgg-hdr.type-study .C-global-cheggheader-searchbox .chgg-logo.study,.chgg-hdr.type-testprep .C-global-cheggheader-searchbox .chgg-logo.testprep,.chgg-hdr.type-tutors .C-global-cheggheader-searchbox .chgg-logo.tutors,.chgg-hdr.type-workshop .C-global-cheggheader-searchbox .chgg-logo.workshop,.chgg-hdr.type-writing .C-global-cheggheader-searchbox .chgg-logo.writing{display:none}.C-global-cheggheader-searchbox.animate .chg-header-autosuggest{max-width:1200px}.C-global-cheggheader-searchbox.animate .chg-header-autosuggest .chg-search-form{width:90%}.C-global-cheggheader-searchbox.expanded{width:100%;min-width:980px}.C-global-cheggheader-searchbox.expanded .chg-header-autosuggest{padding:0;overflow:visible;margin:0 auto;display:block;position:fixed;top:0;width:100%;min-width:980px;height:60px;background:#FFF;left:0;border-bottom:3px solid #EB7100}.C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chg-search-content{max-width:1200px;margin:8px auto 0;height:60px}.C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo{margin-top:9px}.chgg-hdr.type-assessments .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.assessments,.chgg-hdr.type-books .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.books,.chgg-hdr.type-flashcards .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.flashcards,.chgg-hdr.type-home .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.home,.chgg-hdr.type-internships .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.internships,.chgg-hdr.type-mathsolver .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.mathsolver,.chgg-hdr.type-scholarships .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.scholarships,.chgg-hdr.type-study .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.study,.chgg-hdr.type-testprep .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.testprep,.chgg-hdr.type-tutors .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.tutors,.chgg-hdr.type-workshop .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.workshop,.chgg-hdr.type-writing .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.writing{display:block}@media screen and (max-width:1140px){.chgg-hdr.type-assessments .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.assessments,.chgg-hdr.type-books .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.books,.chgg-hdr.type-flashcards .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.flashcards,.chgg-hdr.type-internships .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.internships,.chgg-hdr.type-mathsolver .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.mathsolver,.chgg-hdr.type-scholarships .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.scholarships,.chgg-hdr.type-study .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.study,.chgg-hdr.type-testprep .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.testprep,.chgg-hdr.type-tutors .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.tutors,.chgg-hdr.type-workshop .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.workshop,.chgg-hdr.type-writing .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.writing{display:none}.chgg-hdr .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.home{display:block}}.C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .search-close{display:block}.C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .icon-chegg-cancel{font-size:26px;margin-right:20px}.C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .icon-chegg-search{display:none}.C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .C-common-search-result-category .icon-chegg-search{display:inline-block}.C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .search-close{float:right;font-family:Aspira,Helvetica,Arial,Sans-serif;font-size:18px;color:#EB7100;font-weight:400;position:relative;margin-top:-35px}.C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .search-close:hover{text-decoration:none}.C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chg-search-form{width:630px;height:44px;margin:0 auto;position:relative}.C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chg-search-form a[data-type=button].autosuggest-search-btn{display:block;width:80px;height:46px;border:1px solid #FFF;box-sizing:border-box;text-align:center;background:#EB7100;margin-right:0;padding:0;top:-1px;right:0;border-radius:0 6px 6px 0;position:absolute;cursor:pointer}.C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chg-search-form a[data-type=button].autosuggest-search-btn .icn-magnify{text-indent:0;float:initial;background:0 0;line-height:46px;color:#FFF;position:initial;margin:0;top:0;left:0;height:46px;width:100%;font-weight:700}.C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chg-search-form a[data-type=button].autosuggest-search-btn:hover{text-decoration:none}.C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chg-search-form #header-autosuggest-input{border-radius:6px;border:2px solid #E5E5E5;height:44px;width:630px;padding-right:80px;padding-left:0;text-indent:15px}.C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chg-search-form #header-autosuggest-input:focus{outline:0;border-color:#E5E5E5}.C-global-cheggheader-searchbox.expanded .autosuggest-input-search-container{margin:0 auto;width:630px}.C-global-cheggheader-searchbox.expanded .overlay-wrapper{display:none}.C-global-cheggheader-searchbox .overlay-wrapper{display:block;position:relative}.C-global-cheggheader-searchbox .overlay-wrapper .hidden-overlay{display:block;position:absolute;cursor:pointer;top:-37px;left:0;width:100%;height:38px;margin:0;z-index:200}@media screen and (max-width:979px){.chgg-hdr:not(.force-desktop) .chgg-hdr-search-box{display:none}.chgg-hdr:not(.force-desktop) .chgg-hdr-mobile-search-icon{font-size:18px;color:#333;width:18px;text-align:right;float:right;padding:14px 5px 0;height:32px}.chgg-hdr:not(.force-desktop) .chgg-hdr-mobile-search-icon:hover{color:#EB7100;text-decoration:none}}.C-global-cheggheader-rightsection-cart{height:60px;font-weight:400}.C-global-cheggheader-rightsection-cart .chg-cart-area.nav-item,.C-global-cheggheader-rightsection-cart .hide-with-cart.nav-item{display:none}.C-global-cheggheader-rightsection-cart .chg-cart{display:inline-block;height:22px;width:23px;margin-top:14px;background-image:url(//c.cheggcdn.com/assets/site/icons/icn-nav-cart-n-v01.svg);background-size:contain;background-repeat:no-repeat;background-position:center}.translucent .C-global-cheggheader-rightsection-cart .chg-cart{background-image:url(//c.cheggcdn.com/assets/site/icons/icn-nav-cart-white-v01.svg)}.C-global-cheggheader-rightsection-cart .chg-cart-count{color:#333;display:block;position:absolute;left:4px;top:0;right:0;width:36px;text-align:center;line-height:1;margin-top:12px;font-size:11px}.C-global-cheggheader-rightsection-usermenu .nav-item,.C-global-cheggheader-rightsection-usermenu .nav-item .header{font-family:Aspira-Bold,Helvetica,Arial,Sans-serif;font-size:14px;text-decoration:none}.C-global-cheggheader-rightsection-cart div.cart-item .chg-cart-count{width:34px}.C-global-cheggheader-rightsection-cart a.chg-cart-area:hover{text-decoration:none}.C-global-cheggheader-rightsection-cart a.chg-cart-area:hover .chg-cart{background-image:url(//c.cheggcdn.com/assets/site/icons/icn-nav-cart-s-v01.svg)}.C-global-cheggheader-rightsection-cart a.chg-cart-area:hover .chg-cart-count{color:#EB7100}@media screen and (max-width:979px){.chgg-hdr:not(.force-desktop) .C-global-cheggheader-rightsection-cart{height:46px}.chgg-hdr:not(.force-desktop) .C-global-cheggheader-rightsection-cart .chg-cart{height:18px;width:22px;margin-top:10px}.chgg-hdr:not(.force-desktop) .C-global-cheggheader-rightsection-cart .chg-cart-count{left:initial;width:30px;margin-top:10px}.chgg-hdr:not(.force-desktop).translucent .C-global-cheggheader-rightsection-cart .chg-cart-area .chg-cart{background-image:url(//c.cheggcdn.com/assets/site/icons/icn-nav-cart-n-v01.svg)}.chgg-hdr:not(.force-desktop).translucent .C-global-cheggheader-rightsection-cart .chg-cart-area:hover .chg-cart{background-image:url(//c.cheggcdn.com/assets/site/icons/icn-nav-cart-s-v01.svg)}}.C-global-cheggheader-rightsection-usermenu{height:60px;margin-top:-4px}.C-global-cheggheader-rightsection-usermenu .arrow-down{position:relative;bottom:4px;margin-left:5px}.C-global-cheggheader-rightsection-usermenu .nav-item{color:#000;float:left}.C-global-cheggheader-rightsection-usermenu .nav-item:visited{color:#000}.C-global-cheggheader-rightsection-usermenu .nav-item.active .carrot,.C-global-cheggheader-rightsection-usermenu .nav-item.active .hover-box{display:block}.C-global-cheggheader-rightsection-usermenu .nav-item.active .header,.C-global-cheggheader-rightsection-usermenu .nav-item.active .header .icon-chegg-chevron,.C-global-cheggheader-rightsection-usermenu .nav-item:hover{color:#EB7100}.C-global-cheggheader-rightsection-usermenu .nav-item:hover:after{height:5px;bottom:10px}.C-global-cheggheader-rightsection-usermenu .nav-item .header{color:#000;padding:0}.C-global-cheggheader-rightsection-usermenu .nav-item .header .icon-chegg-chevron{font-size:8px;color:#000}.C-global-cheggheader-rightsection-usermenu .nav-item .header:hover,.C-global-cheggheader-rightsection-usermenu .nav-item .header:hover .icon-chegg-chevron{color:#EB7100}.C-global-cheggheader-rightsection-usermenu .nav-item .header:after{display:block;position:absolute;left:0;bottom:5px;width:100%;height:0;background-color:#EB7100;content:””;transition:bottom .2s}.C-global-cheggheader-rightsection-usermenu .nav-item .header .more-right-section-menu{padding-right:5px}.C-global-cheggheader-rightsection-usermenu .nav-item .hover-box{display:none;position:absolute;background-color:#FFF;border:1px solid #E5E5E5;border-radius:4px;width:200px;right:-10px;top:47px;left:auto;z-index:1000}.C-global-cheggheader-rightsection-usermenu .nav-item .hover-box ul{padding:5px;margin:0;list-style:none}.C-global-cheggheader-rightsection-usermenu .nav-item .hover-box ul li{list-style-type:none;background-color:#FFF;line-height:40px;overflow:hidden}.C-global-cheggheader-rightsection-usermenu .nav-item .hover-box ul li:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.C-global-cheggheader-rightsection-usermenu .nav-item .hover-box ul li:last-of-type{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.C-global-cheggheader-rightsection-usermenu .nav-item .hover-box ul li:hover a{font-weight:700}@media screen and (min-width:979px){.C-global-cheggheader-rightsection-usermenu .nav-item .hover-box ul li:hover a:before{content:””;background-color:#EB7100;position:absolute;width:5px;height:22px;margin-top:7px;left:-1px}}.C-global-cheggheader-rightsection-usermenu .nav-item .hover-box ul li a{display:block;padding-left:15px;font-family:Aspira,Helvetica,Arial,Sans-serif;font-size:14px;color:#333;text-decoration:none}.C-global-cheggheader-rightsection-usermenu .nav-item .hover-box ul li .hide-initially{display:none}.C-global-cheggheader-rightsection-usermenu .nav-item .carrot{display:none;top:28px;right:4px;margin-left:10px;width:0;height:0;position:absolute;border-color:transparent transparent #DDD;border-style:solid;border-width:10px;z-index:1001}.C-global-cheggheader-rightsection-usermenu .nav-item .carrot .carrot-inner{width:0;height:0;position:absolute;top:-8px;left:-9px;border-color:transparent transparent #FFF;border-style:solid;border-width:9px}.C-global-cheggheader-rightsection-usermenu .nav-item.more-item:before{content:””;background-color:#000;display:block;position:absolute;top:0;left:0;height:22px;width:1px;padding:0;margin:18px 0;overflow:hidden}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item{margin-top:4px}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .carrot{border-color:transparent;top:34px;right:27px}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .carrot .carrot-inner{border-color:transparent transparent #555}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .header .avatar{margin-right:0;float:left;padding:14px 0}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .header .avatar .C-common-avatar.border{border:1px solid #fff}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content{width:300px;right:6px;left:auto;top:53px;z-index:1000}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content.hover-box{border:none}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content ul{border:2px solid #E5E5E5;border-top:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .profile-link{width:300px;height:90px;cursor:pointer;position:absolute;z-index:1;visibility:hidden}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .background-avatar{width:300px;height:90px;position:absolute}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .background-avatar .img-container{width:300px;height:90px;position:absolute;overflow:hidden;border-top-left-radius:4px;border-top-right-radius:4px}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .background-avatar .img-container:after{content:””;background-color:rgba(0,0,0,.5);width:100%;height:90px;position:absolute;top:0;left:0}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .background-avatar img{width:300px;display:block;position:absolute;background-size:cover;-webkit-filter:blur(3px);-moz-filter:blur(3px);-o-filter:blur(3px);-ms-filter:blur(3px);filter:blur(3px);border-top-left-radius:4px;border-top-right-radius:4px}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .profile-link:hover+.profile .email,.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .profile-link:hover+.profile .icon-chegg-chevron,.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .profile-link:hover+.profile .name,.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .profile-link:hover+.profile .vertical-dots{text-decoration:none;color:#EB7100}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .profile{cursor:auto;background-color:#555;border-top-left-radius:4px;border-top-right-radius:4px}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .profile .avatar{float:left;height:90px;width:90px;overflow:hidden}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .profile .avatar .C-common-avatar,.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .profile .avatar .C-global-header-avatar{margin:15px auto}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .profile .info{overflow:hidden;margin:0;height:90px;position:relative}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .profile .info .email,.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .profile .info .my-profile,.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .profile .info .name{font-family:Aspira,Helvetica,Arial,Sans-serif;font-size:20px;color:#FFF;display:block;line-height:20px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .profile .info .name{float:left;margin-top:30px;width:85%}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .profile .info .email{font-family:Aspira,Helvetica,Arial,Sans-serif;font-size:11px;color:#CCC;float:left;width:85%}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .profile .info .vertical-dots{-ms-transform:rotate(-90deg);-webkit-transform:rotate(-90deg);transform:rotate(-90deg);width:20px;float:right;position:absolute;right:10px;top:35px;font-size:20px;text-indent:-18px}.C-global-cheggheader-rightsection-usermenu .nav-item.user-item .user-hover-content .profile .info .vertical-dots:after{content:”…”}.C-global-cheggheader-rightsection-usermenu .my-account-v2.hover-box ul li .menu-item-container{display:table;width:100%}.C-global-cheggheader-rightsection-usermenu .my-account-v2.hover-box ul li .menu-item-container a{display:table-cell;padding-left:10px}.C-global-cheggheader-rightsection-usermenu .custom-user-hover-content{width:100%;height:initial;line-height:initial;margin:0;padding:0;color:#333}@media screen and (max-width:1100px){.C-global-cheggheader-rightsection-usermenu .more-item:before,.C-global-cheggheader-rightsection-usermenu .more-right-section-menu,.C-global-cheggheader-rightsection-usermenu .signin-item{display:none!important}.C-global-cheggheader-rightsection-usermenu .nav-item .hover-box ul li .hide-initially{display:block}.C-global-cheggheader-rightsection-usermenu .more-item .avatar-placeholder{padding:0 10px;position:relative}.C-global-cheggheader-rightsection-usermenu .more-item .avatar-placeholder:before{content:”e913″;font-family:Chegg-icon!important;position:absolute;right:7px;font-size:24px;top:-24px}}@media screen and (max-width:979px){.chgg-hdr:not(.force-desktop) .C-global-cheggheader-rightsection-usermenu,.chgg-hdr:not(.force-desktop) .no-mobile{display:none}.chgg-hdr:not(.force-desktop) nav.chgg-menu .chgg-menu-user-info li{height:35px;min-height:35px;line-height:35px;font-family:Aspira-Medium,Helvetica,Arial,Sans-serif;font-size:15px}.chgg-hdr:not(.force-desktop) nav.chgg-menu .chgg-menu-user-info li a{display:block;padding-left:54px;color:#333}.chgg-hdr:not(.force-desktop) nav.chgg-menu .chgg-menu-user-info .profile-link{z-index:3;position:absolute;display:block;height:40px;width:259px;visibility:hidden}.chgg-hdr:not(.force-desktop) nav.chgg-menu .chgg-menu-user-info .profile{position:relative}.chgg-hdr:not(.force-desktop) nav.chgg-menu .chgg-menu-user-info .profile .mobile-track-user-avatar{float:left;height:40px;width:40px}.chgg-hdr:not(.force-desktop) nav.chgg-menu .chgg-menu-user-info .profile .info{height:40px;overflow:hidden;padding:6px 0 0 10px;font-family:Aspira,Helvetica,Arial,Sans-serif}.chgg-hdr:not(.force-desktop) nav.chgg-menu .chgg-menu-user-info .profile .info .name{font-size:16px;color:#333;text-decoration:none}.chgg-hdr:not(.force-desktop) nav.chgg-menu .chgg-menu-user-info .profile .info .email{font-size:12px;color:#767676}}.translucent .C-global-cheggheader-rightsection-notifications .chg-hdr-notifications.embed-js#notifications-component #notifications-button #notifications-icon{color:#FFF}.C-global-cheggheader-rightsection-notifications .chg-hdr-notifications.embed-js#notifications-component #notifications-button #notifications-icon{font-family:Chegg-icon!important;display:block;position:relative;background-image:none;width:initial;height:initial;font-size:20px;margin-top:5px;color:#333}.C-global-cheggheader-rightsection-notifications .chg-hdr-notifications.embed-js#notifications-component #notifications-button #notifications-icon:hover{text-decoration:none;color:#EB7100}.C-global-cheggheader-rightsection-notifications .chg-hdr-notifications.embed-js#notifications-component #notifications-button #notifications-badge{font-size:11px;top:18px;margin-left:-14px;color:#333}.translucent .C-global-cheggheader-rightsection-notifications .chg-hdr-notifications.embed-js#notifications-component #notifications-button #notifications-badge{color:#FFF}.C-global-cheggheader-rightsection-notifications .chg-hdr-notifications.embed-js#notifications-component #notifications-button #notifications-badge:hover,.C-global-cheggheader-rightsection-notifications .chg-hdr-notifications.embed-js#notifications-component #notifications-button:hover #notifications-badge,.C-global-cheggheader-rightsection-notifications .chg-hdr-notifications.embed-js#notifications-component .notifications-container.open #notifications-button #notifications-icon{color:#EB7100}.C-global-cheggheader-rightsection-notifications .chg-hdr-notifications.embed-js#notifications-component #notifications-button:hover #notifications-icon{text-decoration:none;color:#EB7100}.C-global-cheggheader-rightsection-notifications .chg-hdr-notifications.embed-js#notifications-component #notifications-menu{border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.C-global-cheggheader-rightsection-notifications .chg-hdr-notifications.embed-js#notifications-component #notifications-menu:before{border-bottom:9px solid #555}.C-global-cheggheader-rightsection-notifications .chg-hdr-notifications.embed-js#notifications-component #notifications-menu h3{font-family:Aspira,Helvetica,Arial,Sans-serif;font-size:18px;color:#FFF;padding:10px 0 20px;text-align:center;border-bottom:none}.C-global-cheggheader-rightsection-notifications .chg-hdr-notifications.embed-js#notifications-component #notifications-menu .mark-all-as-read{font-family:Aspira,Helvetica,Arial,Sans-serif;font-size:12px;color:#CCC;top:initial;bottom:5px}.C-global-cheggheader-rightsection-notifications .chg-hdr-notifications.embed-js#notifications-component #notifications-menu .notifications-title-bar{background-color:#555;position:relative;border-top-left-radius:4px;border-top-right-radius:4px}.C-global-cheggheader-rightsection-notifications .chg-hdr-notifications.embed-js#notifications-component #notifications-menu #notifications-list{border:2px solid #E5E5E5;border-top:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.C-global-cheggheader-rightsection-notifications .chg-hdr-notifications.embed-js#notifications-component #notifications-menu #notifications-list .notification-card{background-color:#FFF}.C-global-cheggheader-rightsection-notifications .chg-hdr-notifications.embed-js#notifications-component .notification-card.empty p{font-family:Aspira,Helvetica,Arial,Sans-serif;font-size:18px;color:#767676}@media screen and (max-width:979px){.chgg-hdr:not(.force-desktop) .C-global-cheggheader-rightsection-notifications .embed-js#notifications-component #notifications-button{margin-top:0;padding-top:5px}}.C-global-loading-inline{margin:-4px auto 0;width:50px;height:60px;background:url(//c.cheggcdn.com/assets/site/icons/loading-indicator_v02.gif) center no-repeat;background-size:contain}@media screen and (max-width:979px){.chgg-hdr:not(.force-desktop) .C-global-loading-inline{height:46px;width:35px}}

Skip Navigation

  • Chegg home
  • Books
  • Study
  • Writing
  • Flashcards
  • Math Solver
  • Tutors
  • Internships
  • More
  • Test Prep
  • Scholarships

Chegg home Books Rent / Buy Study Textbook Solutions Expert Q&A Study Pack Learn Practice Writing Flashcards Create My Flashcards AP Study Guides Math Solver My Solutions Subjects Graphing Tutors Internships Internships & jobs Career profiles Advice More Tutors Internships Home Home Books STUDY Textbook Solutions Q&A Tutors NEW CAREER CENTER Careers Internships Colleges Scholarships

Expert Answer