Write Without Loops Program Asks User Name Displays Name Line Number 15 Times Permitted Si Q43902090
Write (without loops) a program that asks the user for theirname and then displays the name with a line number 15 times. Youare only permitted a simple printf without multiple %s symbols orn.
Expert Answer
Answer to Write (without loops) a program that asks the user for their name and then displays the name with a line number 15 times…
Writing Library Simulator Involving Multiple Classes Write Libraryitem Patron Library Clas Q43817912
You will be writing a Library simulator involving multipleclasses. You will write the LibraryItem, Patron, and Libraryclasses and the three classes that inherit from LibraryItem (Book,Album and Movie). All data members of each class should be markedas private and the classes should have any get or set methods thatwill be needed to access them.
**USE PYTHON 3 ONLY!!!
Here are descriptions of the three classes:
LibraryItem:
- id_code – a unique identifier for a LibraryItem – you canassume uniqueness, you don’t have to enforce it
- title – cannot be assumed to be unique
- location – a LibraryItem can be “ON_SHELF”, “ON_HOLD_SHELF”, or”CHECKED_OUT”
- checked_out_by – refers to the Patron who has it checked out(if any)
- requested_by – refers to the Patron who has requested it (ifany); a LibraryItem can only be requested by one Patron at atime
- date_checked_out – when a LibraryItem is checked out, this willbe set to the current_date of the Library
- init method – takes an id_code, and title; checked_out_by andrequested_by should be initialized to None; a new LibraryItem’slocation should be on the shelf
- get and set methods
Book/Album/Movie:
- These three classes all inherit from LibraryItem.
- All three will need a method called get_check_out_length thatreturns the number of days that type of library item may be checkedout for. For a Book it’s 21 days, for an Album it’s 14 days, andfor a Movie it’s 7 days.
- All three will have an additional field. For Book, it’s astring field called author. For Album, it’s a string field calledartist. For Movie, it’s a string field called director. There willalso need to be get methods to return the values of thesefields.
Patron:
- id_num – a unique identifier for a Patron – you can assumeuniqueness, you don’t have to enforce it
- name – cannot be assumed to be unique
- checked_out_items – a list of LibraryItems that a Patroncurrently has checked out
- fine_amount – how much the Patron owes the Library in latefines (measured in dollars); this is allowed to go negative
- init method – takes an idNum and name
- get and set methods
- add_library_item – adds the specified LibraryItem tochecked_out_items
- remove_library_item – removes the specified LibraryItem fromchecked_out_items
- amend_fine – a positive argument increases the fine_amount, anegative one decreases it; this is allowed to go negative
Library:
- holdings – a list of the LibraryItems in the Library
- members – a list of the Patrons in the Library
- current_date – stores the current date represented as aninteger number of “days” since the Library object was created
- a constructor that initializes the current_date to zero
- add_library_item – adds the parameter to holdings
- add_patron – adds the parameter to members
- get_library_item – returns the LibraryItem corresponding to theID parameter, or None if no such LibraryItem is in theholdings
- get_patron – returns the Patron corresponding to the IDparameter, or None if no such Patron is a member
- In check_out_library_item, return_library_item andrequest_library_item, check the listed conditions in the ordergiven – for example, if check_out_library_item is called with aninvalid LibraryItem ID and an invalid Patron ID, it should justreturn “item not found”.
- check_out_library_item
- if the specified LibraryItem is not in the Library’s holdings,return “item not found”
- if the specified Patron is not in the Library’s members, return”patron not found”
- if the specified LibraryItem is already checked out, return”item already checked out”
- if the specified LibraryItem is on hold by another Patron,return “item on hold by other patron”
- otherwise update the LibraryItem’s checkedOutBy, dateCheckedOutand Location; if the LibraryItem was on hold for this Patron,update requestedBy; update the Patron’s checkedOutItems; return”check out successful”
- return_library_item
- if the specified LibraryItem is not in the Library’s holdings,return “item not found”
- if the LibraryItem is not checked out, return “item already inlibrary”
- update the Patron’s checkedOutItems; update the LibraryItem’slocation depending on whether another Patron has requested it (ifso, it should go on the hold shelf); update the LibraryItem’scheckedOutBy; return “return successful”
- request_library_item
- if the specified LibraryItem is not in the Library’s holdings,return “item not found”
- if the specified Patron is not in the Library’s members, return”patron not found”
- if the specified LibraryItem is already requested, return “itemalready on hold”
- update the LibraryItem’s requestedBy; if the LibraryItem is onthe shelf, update its location to on hold; return “requestsuccessful”
- pay_fine
- takes as a parameter the amount that is being paid (not thenegative of that amount)
- if the specified Patron is not in the Library’s members, return”patron not found”
- use amendFine to update the Patron’s fine; return “paymentsuccessful”
- increment_current_date
- increment current date; increase each Patron’s fines by 10cents for each overdue LibraryItem they have checked out (usingamendFine)
Note – a LibraryItem can be on request without its locationbeing the hold shelf (if another Patron has it checked out);
One limited example of how your classes might be used is:
b1 = Book(“123”, “War and Peace”, “Tolstoy”) b2 = Book(“234”, “Moby Dick”, “Melville”) b3 = Book(“345”, “Phantom Tollbooth”, “Juster”) p1 = Patron(“abc”, “Felicity”) p2 = Patron(“bcd”, “Waldo”) lib = Library() lib.add_library_item(b1) lib.add_library_item(b2) lib.add_library_item(b3) lib.add_patron(p1) lib.add_patron(p2) lib.check_out_library_item(“bcd”, “234”) for i in range(7): lib.increment_current_date() lib.check_out_library_item(“bcd”, “123”) lib.check_out_library_item(“abc”, “345”) for i in range(24): lib.increment_current_date() lib.pay_fine(“bcd”, 0.4) p1Fine = p1.get_fine_amount() p2Fine = p2.get_fine_amount()
This example obviously doesn’t include all of the functionsdescribed above. You are responsible for testing all of therequired functions to make sure they operate as specified.
Your file must be named: Library.py
Just to think about: Since there are three possible locationsfor a LibraryItem, there are six hypothetical changes in location.Are all six possible according to these specifications?
Expert Answer
Answer to You will be writing a Library simulator involving multiple classes. You will write the LibraryItem, Patron, and Library …
Writing Library Simulator Involving Multiple Classes Write Libraryitem Patron Library Clas Q43826852
You will be writing a Library simulator involving multipleclasses. You will write the LibraryItem, Patron and Libraryclasses, and the three classes that inherit from LibraryItem (Book,Album and Movie). All data members of each class should be markedas private and the classes should have any get or set methods thatwill be needed to access them.
I have been trying to write this code for the past few days andI can’t figure out what I’m doing wrong! Can you please helpme?
Here is my code:
You will be writing a Library simulator involving multipleclasses. You will write the LibraryItem, Patron and Libraryclasses, and the three classes that inherit from LibraryItem (Book,Album and Movie). All data members of each class should be markedas private and the classes should have any get or set methods thatwill be needed to access them.
class InvalidCheckoutError(Exception): passclass Product: “”” Represents a product “”” def __init__(self, _id_code, _title, _description, _price, _quantity_available): self._id_code = _id_code self._title = _title self._description = _description self._price = _price self._quantity_available = _quantity_available def get_id_code(self): return self._id_code def get_title(self): return self._title def get_description(self): return self._description def get_price(self): return self._price def get_quantity_available(self): return self._quantity_available def decrease_quantity(self): self._quantity_available -= 1class Customer: “”” Represents a customer with a name and account ID. Customers must be members of the Store to make a purchase. Premium members get free shipping “”” def __init__(self, _name, _account_id, _premium_member): self._name = _name self._account_id = _account_id self._premium_member = _premium_member self._cart = [] def add_product_to_cart(self, product): self._cart.append(product) def empty_cart(self): self._cart.clear() def get_name(self): return self._name def get_account_id(self): return self._account_id def is_premium_member(self): return self._premium_member def get_cart(self): return self._cartclass Store: “”” Represents a store, which has some number of products in its inventory and some number of customers as members “”” def __init__(self): self._members = [] self._inventory = [] def add_product(self, product): self._inventory.append(product) def add_member(self, customer): self._members.append(customer) def get_product_from_ID(self, product_id): for product in self._inventory: if product.get_id_code() == product_id: return product return None def get_member_from_ID(self, customer_id): for customer in self._members: if customer.get_account_id() == customer_id: return customer return None def product_search(self, string): # create a list to store all matching products matched = [] # iterate over all products in store for product in self._inventory: found = False # check if string is part of description or title of product by convertig both in same case alphabet if string.lower() in product.get_title().lower(): found = True elif string.lower() in product.get_description().lower(): found = True # if product matches for search then add it into the list if found: matched.append(product) for product in matched: return (“ID: ” + str(product.get_id_code()) + “, Title: ” + str(product.get_title()) + “, Description: ” + str(product.get_description()) def add_product_to_member_cart(self, product_id, customer_id): product = self.get_product_from_ID(product_id) if product is None: return “product ID not found” customer = self.get_member_from_ID(customer_id) if customer is None: return “member ID not found” if product.get_quantity_available() > 0: customer.add_product_to_cart(product) return “product added to cart” else: return “product out of stock” def check_out_member(self, customer_id): customer = self.get_member_from_ID(customer_id) if customer is None: return “Customer not found.” if len(customer.get_cart()) == 0: return “There are no items in the cart.” total = 0 stotal = 0 ship = 0 for product in customer.get_cart(): if product.get_quantity_available() == 0: return “Sorry, product is not available.” else: stotal += product.get_price() product.decrease_quantity() if not customer.is_premium_member(): ship = stotal*0.07 total = stotal+shipdef main(): try: TatooineCantina = Store() p1 = Product(1111, “milk”, “yummy”, 2.00, 5) TatooineCantina.add_product(p1) p2 = Product(2222, “death sticks”, “umm yummy”, 23.50, 3) TatooineCantina.add_product(p2) c1 = Customer(“Han Solo”, 382, True) TatooineCantina.add_member(c1) c2 = Customer(“Obi-Wan Kenobi”, 157, False) TatooineCantina.add_member(c2) c3 = Customer(“Chewbacca”, 890, False) print(TatooineCantina.product_search(‘yum’)) print(TatooineCantina.get_member_from_ID(382).get_account_id()) print(TatooineCantina.add_product_to_member_cart(1111, 382)) print(TatooineCantina.add_product_to_member_cart(2222, 382)) print(TatooineCantina.check_out_member(382)) print(TatooineCantina.product_search(‘yum’)) print(TatooineCantina.get_member_from_ID(157).get_account_id()) print(TatooineCantina.add_product_to_member_cart(1111, 157)) print(TatooineCantina.add_product_to_member_cart(2222, 157)) print(TatooineCantina.check_out_member(157)) print(TatooineCantina.get_member_from_ID(890).get_account_id()) print(TatooineCantina.add_product_to_member_cart(1111, 890)) print(TatooineCantina.add_product_to_member_cart(2222, 890)) print(TatooineCantina.check_out_member(890)) except InvalidCheckoutError: print(“Member ID not found.”)if __name__ == “__main__”: main()
Expert Answer
Answer to You will be writing a Library simulator involving multiple classes. You will write the LibraryItem, Patron and Library c…
Writing Library Simulator Involving Multiple Classes Write Libraryitem Patron Library Clas Q43892278
You will be writing a Library simulator involving multipleclasses. You will write the LibraryItem, Patron, and Libraryclasses and the three classes that inherit from LibraryItem (Book,Album and Movie). All data members of each class should be markedas private and the classes should have any get or set methods thatwill be needed to access them.
**USE PYTHON 3 ONLY!!!
Here are descriptions of the three classes:
LibraryItem:
- id_code – a unique identifier for a LibraryItem – you canassume uniqueness, you don’t have to enforce it
- title – cannot be assumed to be unique
- location – a LibraryItem can be “ON_SHELF”, “ON_HOLD_SHELF”, or”CHECKED_OUT”
- checked_out_by – refers to the Patron who has it checked out(if any)
- requested_by – refers to the Patron who has requested it (ifany); a LibraryItem can only be requested by one Patron at atime
- date_checked_out – when a LibraryItem is checked out, this willbe set to the current_date of the Library
- init method – takes an id_code, and title; checked_out_by andrequested_by should be initialized to None; a new LibraryItem’slocation should be on the shelf
- get and set methods
Book/Album/Movie:
- These three classes all inherit from LibraryItem.
- All three will need a method called get_check_out_length thatreturns the number of days that type of library item may be checkedout for. For a Book it’s 21 days, for an Album it’s 14 days, andfor a Movie it’s 7 days.
- All three will have an additional field. For Book, it’s astring field called author. For Album, it’s a string field calledartist. For Movie, it’s a string field called director. There willalso need to be get methods to return the values of thesefields.
Patron:
- id_num – a unique identifier for a Patron – you can assumeuniqueness, you don’t have to enforce it
- name – cannot be assumed to be unique
- checked_out_items – a list of LibraryItems that a Patroncurrently has checked out
- fine_amount – how much the Patron owes the Library in latefines (measured in dollars); this is allowed to go negative
- init method – takes an idNum and name
- get and set methods
- add_library_item – adds the specified LibraryItem tochecked_out_items
- remove_library_item – removes the specified LibraryItem fromchecked_out_items
- amend_fine – a positive argument increases the fine_amount, anegative one decreases it; this is allowed to go negative
Library:
- holdings – a list of the LibraryItems in the Library
- members – a list of the Patrons in the Library
- current_date – stores the current date represented as aninteger number of “days” since the Library object was created
- a constructor that initializes the current_date to zero
- add_library_item – adds the parameter to holdings
- add_patron – adds the parameter to members
- get_library_item – returns the LibraryItem corresponding to theID parameter, or None if no such LibraryItem is in theholdings
- get_patron – returns the Patron corresponding to the IDparameter, or None if no such Patron is a member
- In check_out_library_item, return_library_item andrequest_library_item, check the listed conditions in the ordergiven – for example, if check_out_library_item is called with aninvalid LibraryItem ID and an invalid Patron ID, it should justreturn “item not found”.
- check_out_library_item
- if the specified LibraryItem is not in the Library’s holdings,return “item not found”
- if the specified Patron is not in the Library’s members, return”patron not found”
- if the specified LibraryItem is already checked out, return”item already checked out”
- if the specified LibraryItem is on hold by another Patron,return “item on hold by other patron”
- otherwise update the LibraryItem’s checkedOutBy, dateCheckedOutand Location; if the LibraryItem was on hold for this Patron,update requestedBy; update the Patron’s checkedOutItems; return”check out successful”
- return_library_item
- if the specified LibraryItem is not in the Library’s holdings,return “item not found”
- if the LibraryItem is not checked out, return “item already inlibrary”
- update the Patron’s checkedOutItems; update the LibraryItem’slocation depending on whether another Patron has requested it (ifso, it should go on the hold shelf); update the LibraryItem’scheckedOutBy; return “return successful”
- request_library_item
- if the specified LibraryItem is not in the Library’s holdings,return “item not found”
- if the specified Patron is not in the Library’s members, return”patron not found”
- if the specified LibraryItem is already requested, return “itemalready on hold”
- update the LibraryItem’s requestedBy; if the LibraryItem is onthe shelf, update its location to on hold; return “requestsuccessful”
- pay_fine
- takes as a parameter the amount that is being paid (not thenegative of that amount)
- if the specified Patron is not in the Library’s members, return”patron not found”
- use amendFine to update the Patron’s fine; return “paymentsuccessful”
- increment_current_date
- increment current date; increase each Patron’s fines by 10cents for each overdue LibraryItem they have checked out (usingamendFine)
Note – a LibraryItem can be on request without its locationbeing the hold shelf (if another Patron has it checked out);
One limited example of how your classes might be used is:
b1 = Book(“123”, “War and Peace”, “Tolstoy”) b2 = Book(“234”, “Moby Dick”, “Melville”) b3 = Book(“345”, “Phantom Tollbooth”, “Juster”) p1 = Patron(“abc”, “Felicity”) p2 = Patron(“bcd”, “Waldo”) lib = Library() lib.add_library_item(b1) lib.add_library_item(b2) lib.add_library_item(b3) lib.add_patron(p1) lib.add_patron(p2) lib.check_out_library_item(“bcd”, “234”) for i in range(7): lib.increment_current_date() lib.check_out_library_item(“bcd”, “123”) lib.check_out_library_item(“abc”, “345”) for i in range(24): lib.increment_current_date() lib.pay_fine(“bcd”, 0.4) p1Fine = p1.get_fine_amount() p2Fine = p2.get_fine_amount()
This example obviously doesn’t include all of the functionsdescribed above. You are responsible for testing all of therequired functions to make sure they operate as specified.
Your file must be named: Library.py
Just to think about: Since there are three possible locationsfor a LibraryItem, there are six hypothetical changes in location.Are all six possible according to these specifications?
Expert Answer
Answer to You will be writing a Library simulator involving multiple classes. You will write the LibraryItem, Patron, and Library …
Writing Python Program N Friends Meeting Go Trip Month Entering Schedule Write Python Prog Q43784638
Writing python program:
There are n friends meeting to go on a trip this month, each ofthem entering their own schedule,
Write a python program, count all the available hours for everyone,and print it.
When q is input, Output statistical values
If no time is available, output: no trip this time
30 days a month
‘4-5’ means → ‘day4-day5’
Ex:
Input:
preson1:4-5,11-12,18-19,25-30
preson2:15-19, 21-28, 30-31
preson3: q
<person1 and person2 possible times are >
day: 18 19 25 26 27 28 30
ex.
preson1: 9
preson2: 1-2, 4-6,15-28
preson3:q

Reference function: ![>>> a=[1,2,3,4] >>> a.append([5, 6, 7, 8]) >>> a=[1,2,3,4] >>> a.extend([5, 6, 7, 8]) >>> a >>> a [1, 2, 3, 4, 5, 6, 7, 8] [1](https://media.cheggcdn.com/media/070/070557de-6504-4aa2-9db6-9f408b323252/php9iWZ0x.png)
가능한 날짜: 7~16 18 25~27 가능한 날짜: 9~11 24~31 가능한 날짜: 1~15 11 25~26 가능한 날짜: q <3명이 모두 가능한 날> 9일 10일 25일 26일 가능한 날짜: 1 5 6~11 9 가능한 날짜: 8 20~31 가능한 날짜: 9 12 7 가능한 날짜: 11 13~20 가능한 날짜: q <4명이 모두 가능한 날> 없습니다. 다음 기회에 가능한 날짜: 4~5 11~12 18~19 25~30 가능한 날짜: 30~31 21~28 15~19 가능한 날짜: q <2명이 모두 가능한 날> 18일 19일 25일 26일 27일 28일 30일 >>> a=[1,2,3,4] >>> a.append([5, 6, 7, 8]) >>> a=[1,2,3,4] >>> a.extend([5, 6, 7, 8]) >>> a >>> a [1, 2, 3, 4, 5, 6, 7, 8] [1, 2, 3, 4, [5, 6, 7, 8]] Show transcribed image text 가능한 날짜: 7~16 18 25~27 가능한 날짜: 9~11 24~31 가능한 날짜: 1~15 11 25~26 가능한 날짜: q 9일 10일 25일 26일 가능한 날짜: 1 5 6~11 9 가능한 날짜: 8 20~31 가능한 날짜: 9 12 7 가능한 날짜: 11 13~20 가능한 날짜: q 없습니다. 다음 기회에 가능한 날짜: 4~5 11~12 18~19 25~30 가능한 날짜: 30~31 21~28 15~19 가능한 날짜: q 18일 19일 25일 26일 27일 28일 30일
>>> a=[1,2,3,4] >>> a.append([5, 6, 7, 8]) >>> a=[1,2,3,4] >>> a.extend([5, 6, 7, 8]) >>> a >>> a [1, 2, 3, 4, 5, 6, 7, 8] [1, 2, 3, 4, [5, 6, 7, 8]]
Expert Answer
Answer to Writing python program: There are n friends meeting to go on a trip this month, each of them entering their own schedule…
Writing
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- .chgg-hdr-navigation .nav-items.{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- .C-global-cheggheader-searchbox .chgg-logo.{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- .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.{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- .C-global-cheggheader-searchbox.expanded .chg-header-autosuggest .chgg-logo.{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}}
Chegg Home Home Books STUDY Textbook Solutions Q&A Tutors NEW CAREER CENTER Careers Internships Colleges Scholarships span,.PbwJM:active > span{-webkit-text-decoration:underline;text-decoration:underline;}data-styled.g419[id=”sc-qYUgX”]{content:”PbwJM,”}.HuCzM{width:100%;background-color:#FEF4E5;margin:0;}.hdwCdT{width:100%;margin:0.5rem 0;}.lfnwDR{width:100%;background-color:#c0d7fc;margin:0.5rem 0;}data-styled.g457[id=”FullScreenContainer-sc-wsgm59″]{content:”HuCzM,hdwCdT,lfnwDR,”}.iSKAFk{max-width:75rem;min-width:20rem;margin:auto;}data-styled.g458[id=”MaxWidthContainer-sc-oqkaui”]{content:”iSKAFk,”}.hkXsiA{fill:none;stroke:#eb7100;stroke-linecap:round;stroke-linejoin:round;stroke-width:4;}data-styled.g465[id=”sc-qXWkf”]{content:”hkXsiA,”}.bVLwDk{display:-ms-grid;display:grid;-webkit-flex:1;-ms-flex:1;flex:1;height:auto;grid-auto-flow:row;}@media only screen and (min-width:0px) and (max-width:599px){.bVLwDk{grid-template-columns:repeat(4,1fr);grid-gap:1rem;grid-template-areas:”title title title title “” uploadWidget uploadWidget uploadWidget uploadWidget “” image image image image”;-ms-grid-columns:1fr 1rem 1fr 1rem 1fr 1rem 1fr;-ms-grid-rows:auto 1rem auto 1rem auto;}.bVLwDk > [data-area=title]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:1;-ms-grid-column:1;-ms-grid-column-span:7;}.bVLwDk > [data-area=uploadWidget]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:3;-ms-grid-column:1;-ms-grid-column-span:7;}.bVLwDk > [data-area=image]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:5;-ms-grid-column:1;-ms-grid-column-span:7;}}@media only screen and (min-width:600px) and (max-width:899px){.bVLwDk{grid-template-columns:repeat(8,1fr);grid-gap:1.5rem;grid-template-areas:”title title title title title title title title “” uploadWidget uploadWidget uploadWidget uploadWidget uploadWidget uploadWidget uploadWidget uploadWidget “” image image image image image image image image”;-ms-grid-columns:1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr;-ms-grid-rows:auto 1.5rem auto 1.5rem auto;}.bVLwDk > [data-area=title]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:1;-ms-grid-column:1;-ms-grid-column-span:15;}.bVLwDk > [data-area=uploadWidget]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:3;-ms-grid-column:1;-ms-grid-column-span:15;}.bVLwDk > [data-area=image]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:5;-ms-grid-column:1;-ms-grid-column-span:15;}}@media only screen and (min-width:900px) and (max-width:1199px){.bVLwDk{grid-template-columns:repeat(12,1fr);grid-gap:1.5rem;grid-template-areas:”title title title title title uploadWidget uploadWidget uploadWidget uploadWidget uploadWidget uploadWidget uploadWidget “” image image image image image uploadWidget uploadWidget uploadWidget uploadWidget uploadWidget uploadWidget uploadWidget”;-ms-grid-columns:1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr;-ms-grid-rows:auto 1.5rem auto;}.bVLwDk > [data-area=title]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:1;-ms-grid-column:1;-ms-grid-column-span:9;}.bVLwDk > [data-area=uploadWidget]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:1;-ms-grid-column:11;-ms-grid-column-span:13;-ms-grid-row-span:3;}.bVLwDk > [data-area=image]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:3;-ms-grid-column:1;-ms-grid-column-span:9;}}@media only screen and (min-width:1200px) and (max-width:2000000px){.bVLwDk{grid-template-columns:repeat(12,1fr);grid-gap:1.5rem;grid-template-areas:”title title title title title title uploadWidget uploadWidget uploadWidget uploadWidget uploadWidget uploadWidget “” image image image image image image uploadWidget uploadWidget uploadWidget uploadWidget uploadWidget uploadWidget”;-ms-grid-columns:1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr;-ms-grid-rows:auto 1.5rem auto;}.bVLwDk > [data-area=title]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:1;-ms-grid-column:1;-ms-grid-column-span:11;}.bVLwDk > [data-area=uploadWidget]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:1;-ms-grid-column:13;-ms-grid-column-span:11;-ms-grid-row-span:3;}.bVLwDk > [data-area=image]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:3;-ms-grid-column:1;-ms-grid-column-span:11;}}.bouEwe{display:-ms-grid;display:grid;-webkit-flex:1;-ms-flex:1;flex:1;height:auto;grid-auto-flow:row;}@media only screen and (min-width:0px) and (max-width:599px){.bouEwe{grid-template-columns:repeat(4,1fr);grid-gap:1rem;grid-template-areas:”left left left left “” right right right right “;-ms-grid-columns:1fr 1rem 1fr 1rem 1fr 1rem 1fr;-ms-grid-rows:auto 1rem auto;}.bouEwe > [data-area=left]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:1;-ms-grid-column:1;-ms-grid-column-span:7;}.bouEwe > [data-area=right]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:3;-ms-grid-column:1;-ms-grid-column-span:7;}}@media only screen and (min-width:600px) and (max-width:899px){.bouEwe{grid-template-columns:repeat(8,1fr);grid-gap:1.5rem;grid-template-areas:”left left left left left left left left “” right right right right right right right right “;-ms-grid-columns:1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr;-ms-grid-rows:auto 1.5rem auto;}.bouEwe > [data-area=left]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:1;-ms-grid-column:1;-ms-grid-column-span:15;}.bouEwe > [data-area=right]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:3;-ms-grid-column:1;-ms-grid-column-span:15;}}@media only screen and (min-width:900px) and (max-width:1199px){.bouEwe{grid-template-columns:repeat(12,1fr);grid-gap:1.5rem;grid-template-areas:”left left left left left left left right right right right”;-ms-grid-columns:1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr;-ms-grid-rows:auto;}.bouEwe > [data-area=left]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:1;-ms-grid-column:1;-ms-grid-column-span:13;}.bouEwe > [data-area=right]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:1;-ms-grid-column:15;-ms-grid-column-span:7;}}@media only screen and (min-width:1200px) and (max-width:2000000px){.bouEwe{grid-template-columns:repeat(12,1fr);grid-gap:1.5rem;grid-template-areas:”left left left left left left left left right right right”;-ms-grid-columns:1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr;-ms-grid-rows:auto;}.bouEwe > [data-area=left]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:1;-ms-grid-column:1;-ms-grid-column-span:15;}.bouEwe > [data-area=right]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-ms-grid-row:1;-ms-grid-column:17;-ms-grid-column-span:5;}}data-styled.g476[id=”sc-pAAKw”]{content:”bVLwDk,bouEwe,”}.cfTuBo{height:100%;min-width:0;display:none;overflow:visible;grid-area:title;}.fVlJSL{height:100%;min-width:0;display:none;overflow:visible;grid-area:uploadWidget;}.bHKbEj{height:100%;min-width:0;display:none;overflow:visible;grid-area:left;}.jsqDuQ{height:100%;min-width:0;display:none;overflow:visible;grid-area:right;}data-styled.g477[id=”sc-pIYbZ”]{content:”cfTuBo,fVlJSL,bHKbEj,jsqDuQ,”}.jOHmfD{background-image:url(https://c.cheggcdn.com/assets/site/marketing/landing%20pages/2019-Fanta-CheggWriting/bg-hero-CheggWriting.jpg);background-repeat:no-repeat;background-size:cover;}data-styled.g521[id=”BackgroundContainer-sc-1kv1vq4″]{content:”jOHmfD,”}@media (max-width:2000000px) and (min-width:1200px){.eBoNxZ{padding:3.3125rem 4.25rem 0;}}@media (max-width:1199px) and (min-width:900px){.eBoNxZ{padding:3.3125rem 4.5rem 0;}}@media (max-width:899px) and (min-width:600px){.eBoNxZ{padding:2rem 4.5rem 0;}}@media (max-width:599px) and (min-width:0px){.eBoNxZ{padding:2rem 1.3125rem 0;}}data-styled.g522[id=”ComponentContainer-sc-1sioffy”]{content:”eBoNxZ,”}.lkFqEn{color:#ffffff;font-family:”Aspira Webfont”,”Helvetica”,”Arial”,sans-serif;margin:auto;}@media (max-width:899px) and (min-width:600px){.lkFqEn{text-align:center;}}@media (max-width:599px) and (min-width:0px){.lkFqEn{text-align:center;}}data-styled.g523[id=”TitleContainer-sc-8npy1r”]{content:”lkFqEn,”}.geDdJN{font-size:3rem;margin:2rem 0;font-weight:bold;}@media (max-width:899px) and (min-width:600px){.geDdJN{font-size:2.625rem;margin:1rem 0;}}@media (max-width:599px) and (min-width:0px){.geDdJN{font-size:2rem;margin:1rem 0;}}data-styled.g524[id=”Title-sc-mlj1aa”]{content:”geDdJN,”}.bNXLIA{font-size:1.25rem;margin:2rem 0;}@media (max-width:899px) and (min-width:600px){.bNXLIA{font-size:1.125rem;font-weight:bold;margin:1rem 0;}}@media (max-width:599px) and (min-width:0px){.bNXLIA{font-size:1.125rem;font-weight:bold;margin:1rem 0;}}data-styled.g525[id=”Subtitle-sc-1qmret2″]{content:”bNXLIA,”}.bBCzoE{height:100%;min-width:0;display:none;overflow:visible;grid-area:image;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;overflow:visible;}data-styled.g526[id=”HeroImageCell-sc-1tw8odw”]{content:”bBCzoE,”}.iSqpPz{width:100%;height:100%;}@media (max-width:2000000px) and (min-width:1200px){.iSqpPz{min-width:25.9375rem;}}@media (max-width:1199px) and (min-width:900px){.iSqpPz{min-width:25.9375rem;}}data-styled.g527[id=”HeroImage-sc-13zhaft”]{content:”iSqpPz,”}.lfFOE{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0 auto;}data-styled.g528[id=”UploadWidgetContainer-sc-1jrpwv9″]{content:”lfFOE,”}.iyqpAK{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;font-family:”Aspira Webfont”,”Helvetica”,”Arial”,sans-serif;font-size:1rem;font-weight:bold;line-height:1;color:#00799e;color:#ffffff;font-size:0.875rem;padding:1.375rem 0;}.iyqpAK:visited{color:#515bad;}.iyqpAK.iyqpAK:visited{color:#ffffff;}data-styled.g529[id=”TermsLink-sc-10b9e5e”]{content:”iyqpAK,”}.izcWoP{padding:2.5rem 0 0 2rem;}data-styled.g530[id=”WrapperStyles-sc-13g57lw”]{content:”izcWoP,”}.gtSqIU{padding:4.25rem 0 5.875rem 0;}@media (max-width:899px) and (min-width:600px){.gtSqIU{padding:2.8rem 0 4.79375rem 0;}}@media (max-width:599px) and (min-width:0px){.gtSqIU{padding:1.375rem 0 1.90625rem 0;}}data-styled.g531[id=”ComponentContainer-sc-pzluhx”]{content:”gtSqIU,”}.hryCFv{text-align:center;font-family:”Aspira Webfont”,”Helvetica”,”Arial”,sans-serif;font-size:2rem;margin:auto;margin-bottom:2rem;}@media (max-width:599px) and (min-width:0px){.hryCFv{width:80%;}}@media (max-width:899px) and (min-width:600px){.hryCFv{width:50%;}}@media (max-width:1199px) and (min-width:900px){.hryCFv{font-size:2.625rem;width:50%;}}@media (max-width:2000000px) and (min-width:1200px){.hryCFv{font-size:2.625rem;width:100%;}}data-styled.g532[id=”CarouselTitle-sc-1js9pf0″]{content:”hryCFv,”}.fHPqzY{font-size:1.125rem;position:absolute;top:.125rem;left:-.25rem;}data-styled.g533[id=”RegMark-sc-108dt9u”]{content:”fHPqzY,”}.diVfui{position:relative;}data-styled.g534[id=”RegMarkContainer-sc-16x8lgo”]{content:”diVfui,”}.gvbCpa{max-width:63.75rem;margin:0 auto;}@media (max-width:899px) and (min-width:600px){.gvbCpa{max-width:31.4375rem;}}@media (max-width:599px) and (min-width:0px){.gvbCpa{max-width:100%;}}data-styled.g535[id=”CarouselContainer-sc-1jpew7l”]{content:”gvbCpa,”}.tSSIx{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;padding:0 1.25rem;}@media (max-width:899px) and (min-width:600px){.tSSIx{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}}@media (max-width:599px) and (min-width:0px){.tSSIx{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}}@media (max-width:599px) and (min-width:0px){.tSSIx{padding:0 1rem;}}data-styled.g536[id=”CarouselChildContainer-sc-1c090ji”]{content:”tSSIx,”}.bTBIRc{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;background-color:#c9eded;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}@media (max-width:899px) and (min-width:600px){.bTBIRc{-webkit-flex-basis:auto;-ms-flex-preferred-size:auto;flex-basis:auto;}}@media (max-width:599px) and (min-width:0px){.bTBIRc{-webkit-flex-basis:auto;-ms-flex-preferred-size:auto;flex-basis:auto;}}.jYYvxe{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;background-color:#eaf8f8;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}@media (max-width:899px) and (min-width:600px){.jYYvxe{-webkit-flex-basis:auto;-ms-flex-preferred-size:auto;flex-basis:auto;}}@media (max-width:599px) and (min-width:0px){.jYYvxe{-webkit-flex-basis:auto;-ms-flex-preferred-size:auto;flex-basis:auto;}}.jlWHKJ{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;background-color:#dfebfd;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}@media (max-width:899px) and (min-width:600px){.jlWHKJ{-webkit-flex-basis:auto;-ms-flex-preferred-size:auto;flex-basis:auto;}}@media (max-width:599px) and (min-width:0px){.jlWHKJ{-webkit-flex-basis:auto;-ms-flex-preferred-size:auto;flex-basis:auto;}}.eChLPZ{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;background-color:#eff5fe;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}@media (max-width:899px) and (min-width:600px){.eChLPZ{-webkit-flex-basis:auto;-ms-flex-preferred-size:auto;flex-basis:auto;}}@media (max-width:599px) and (min-width:0px){.eChLPZ{-webkit-flex-basis:auto;-ms-flex-preferred-size:auto;flex-basis:auto;}}data-styled.g537[id=”SubChild-sc-11ha2xo”]{content:”bTBIRc,jYYvxe,jlWHKJ,eChLPZ,”}.hISvCk{width:100%;}@media (max-width:899px) and (min-width:600px){.hISvCk{min-height:18.75rem;}}@media (max-width:599px) and (min-width:0px){.hISvCk{min-height:18.75rem;}}data-styled.g538[id=”ImageBox-sc-1ik8e6j”]{content:”hISvCk,”}.fukCMv{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-family:”Aspira Webfont”,”Helvetica”,”Arial”,sans-serif;font-size:1.25rem;font-weight:bold;width:21.25rem;}@media (max-width:899px) and (min-width:600px){.fukCMv{min-height:18.75rem;}}@media (max-width:599px) and (min-width:0px){.fukCMv{min-height:18.75rem;}}data-styled.g539[id=”ContentBox-sc-d1o53″]{content:”fukCMv,”}.evjttM{color:#229d9e;}data-styled.g540[id=”CaretLinkModified-sc-12xv8fn”]{content:”evjttM,”}.cjbpht{margin :5rem 0;}@media (max-width:899px) and (min-width:600px){.cjbpht{padding-top :0;margin :0 6rem 2rem;}}@media (max-width:599px) and (min-width:0px){.cjbpht{padding-top :0;margin :0 4rem 2rem;}}data-styled.g541[id=”RightContent-sc-1tob5nd”]{content:”cjbpht,”}.FgXvk{width :100%;height:100%;object-fit :contain;margin :3rem 0;}@media (max-width:1199px) and (min-width:900px){.FgXvk{margin :5rem 0;}}@media (max-width:899px) and (min-width:600px){.FgXvk{margin :3rem 0 0 0;}}@media (max-width:599px) and (min-width:0px){.FgXvk{margin :3rem 0 0 0;}}data-styled.g542[id=”ContentImage-sc-1h5dnf0″]{content:”FgXvk,”}.cnsxNo{font-family:”Aspira Webfont”,”Helvetica”,”Arial”,sans-serif;font-weight:900;font-size :2.625rem;margin :0.5rem 0;}data-styled.g543[id=”PlagiarismTitle-sc-1pkk1gy”]{content:”cnsxNo,”}.bAwxzK{font-size :1.25rem;margin-bottom :3rem;}data-styled.g544[id=”PlagiarismText-sc-b78htp”]{content:”bAwxzK,”}.cAfZvl{font-size :1rem;}data-styled.g545[id=”RegMark-sc-1s81rk6″]{content:”cAfZvl,”}.jsGHFl{font-size :2rem;font-weight :bold;}data-styled.g546[id=”LeftTitle-sc-1iji2as”]{content:”jsGHFl,”}.eGDaNH{font-size :2rem;font-weight :bold;display :inline-block;margin-right :1rem;}@media (max-width:599px) and (min-width:0px){.eGDaNH{display :block;}}data-styled.g547[id=”PriceInfo-sc-djkkz3″]{content:”eGDaNH,”}.lQxkd{font-size :0.875rem;display :inline-block;text-align :left;width:7rem;}@media (max-width:599px) and (min-width:0px){.lQxkd{text-align :center;display :block;width :100%;}}data-styled.g548[id=”PriceHelperText-sc-117z0l1″]{content:”lQxkd,”}.jtgLrw{font-family :”Aspira Webfont”,”Helvetica”,”Arial”,sans-serif;}data-styled.g549[id=”TabWrapper-sc-mgx7xa”]{content:”jtgLrw,”}.dYcFiL{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;font-family:”Aspira Webfont”,”Helvetica”,”Arial”,sans-serif;margin:auto;}@media (max-width:2000000px) and (min-width:1200px){.dYcFiL{padding:4em 0;}}@media (max-width:1199px) and (min-width:900px){.dYcFiL{padding:4.875rem 0;}}@media (max-width:899px) and (min-width:600px){.dYcFiL{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding:4.375rem 4.25rem 5rem 4.25rem;}}@media (max-width:599px) and (min-width:0px){.dYcFiL{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;padding:2.1875rem 1.53125rem 2.7125rem 1.53125rem;}}data-styled.g550[id=”ComponentContainer-sc-c5j3sr”]{content:”dYcFiL,”}.hfQrfa{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;text-align:center;}data-styled.g551[id=”ImageSection-sc-1epywq5″]{content:”hfQrfa,”}.kfUmnj{width:386px;height:463.2px;}@media (max-width:599px) and (min-width:0px){.kfUmnj{max-width:100%;height:auto;}}data-styled.g552[id=”Image-sc-ruvfno”]{content:”kfUmnj,”}.isRumz{text-align:left;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;}data-styled.g553[id=”ContentSection-sc-9dj0bh”]{content:”isRumz,”}.dbWLiY{font-size:1.5rem;margin-left:1rem;font-weight:bold;}@media (max-width:599px) and (min-width:0px){.dbWLiY{font-size:1.25rem;}}data-styled.g554[id=”ContentTitle-sc-16vaif7″]{content:”dbWLiY,”}.hTptxy{list-style:none;margin:0;padding:0;margin-top:1.3rem;}data-styled.g555[id=”FeaturesListContainer-sc-1v8ixu1″]{content:”hTptxy,”}.jHKovO{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:-0.8rem;}data-styled.g556[id=”FeatureListItem-sc-1kd3o6v”]{content:”jHKovO,”}.cDZmOk{width:3rem;height:3rem;}data-styled.g557[id=”CheckMarkContainer-sc-16fzf4a”]{content:”cDZmOk,”}.hEBbkQ{font-size:1rem;font-weight:normal;margin:.5rem 0;max-width:80%;}data-styled.g558[id=”FeatureTitle-sc-19d79xg”]{content:”hEBbkQ,”}.fzXBgZ{font-size:1.25rem;font-weight:bold;margin:1rem 0 1.25rem 1rem;}@media (max-width:599px) and (min-width:0px){.fzXBgZ{text-align:center;margin-left:0;}}data-styled.g559[id=”PricingTitle-sc-13enwjz”]{content:”fzXBgZ,”}.dQmdiC{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#ffffff;border-radius:2rem;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-family:”Aspira Webfont”,”Helvetica”,”Arial”,sans-serif;font-size:1.5rem;font-weight:bold;opacity:1;padding:0.5rem 1.5rem;-webkit-transition:opacity 0.5s;transition:opacity 0.5s;background:#eb7100;color:#ffffff;margin-left:1rem;line-height:inherit;}@media (max-width:599px) and (min-width:0px){.dQmdiC{margin:auto;}}.dQmdiC:active:not([disabled]){background-color:#eb7100;}data-styled.g560[id=”BottomPrimaryButton-sc-1w7aci3″]{content:”dQmdiC,”}.ebTFpM{width:100%;}data-styled.g561[id=”PageContainer-sc-9obeet”]{content:”ebTFpM,”}@font-face{font-family:”Aspira Webfont”;src:local(‘Aspira’), local(‘Aspira Regular’), url(‘https://c.cheggcdn.com/f/woff2/30B57C_60_0.woff2’) format(‘woff2’), url(‘https://c.cheggcdn.com/f/woff/30B57C_60_0.woff’) format(‘woff’);font-weight:normal;font-style:normal;font-display:fallback;}@font-face{font-family:”Aspira Webfont”;src:local(‘Aspira’), local(‘Aspira Medium’), url(‘https://c.cheggcdn.com/f/woff2/30B57C_5D_0.woff2’) format(‘woff2’), url(‘https://c.cheggcdn.com/f/woff/30B57C_5D_0.woff’) format(‘woff’);font-weight:500;font-style:normal;font-display:fallback;}@font-face{font-family:”Aspira Webfont”;src:local(‘Aspira’), local(‘Aspira Bold’), url(‘https://c.cheggcdn.com/f/woff2/30B57C_52_0.woff2’) format(‘woff2’), url(‘https://c.cheggcdn.com/f/woff/30B57C_52_0.woff’) format(‘woff’);font-weight:bold;font-style:normal;font-display:fallback;}@font-face{font-family:”Aspira Webfont”;src:local(‘Aspira’), local(‘Aspira Heavy’), url(‘https://c.cheggcdn.com/f/woff2/30B57C_57_0.woff2’) format(‘woff2’), url(‘https://c.cheggcdn.com/f/woff/30B57C_57_0.woff’) format(‘woff’);font-weight:900;font-style:normal;font-display:fallback;}data-styled.g654[id=”sc-global-gkoBVC1″]{content:”sc-global-gkoBVC1,”}body.mobile{background-color:#ffffff;}body.mobile h1{color:inherit;padding-left:0;padding-right:0;}body.mobile button{text-transform:inherit;}div.App_wrapper__3UMVS{min-width:0px;}data-styled.g657[id=”sc-global-jDgtrw1″]{content:”sc-global-jDgtrw1,”} Turn in your best paper
Wipe out plagiarism & grammar errors in your
Paste or upload your paper to start a free 3-day trial*
or, import your paper
It’s on my computerUpload from computerIt’s on Google Drive ™The papers you upload will be added to our plagiarism database and will be used internally to improve plagiarism results.*See terms and conditionsChegg® Writing$9.95/mo.after free trial (cancel anytime)
Plagiarism Checker
Advanced Grammar Scanner
PLAGIARISM CHECKER
Catch plagiarism mistakes
Keep your paper safe from plagiarism mistakes. It’s easy to miss a footnote or paraphrase incorrectly. We’ll help you find citation errors that can lead to accidental plagiarism.
Check your paper
See examples of how Chegg® Writing works
We’ll catch grammar errors your spellcheck might not find and give you suggestions to polish your paper.

What’s included with a Chegg Writing subscription
-
Unlimited number of paper scans
-
Ability to check your plagiarism against billions of sources
-
Advanced suggestions to improve clarity and style
-
200+ types of grammar errors detected
-
Access to all your previously uploaded papers
-
Cancel subscription anytime, no obligation
$9.95/mo.
Start todayStart today done loading
Writing help
Grammar
: Verb | Adjectives | Pronoun | Noun | Adverb | Preposition | Conjunction | Research | Interjection | Determiner
Get the most out of Chegg Writing
Plagiarism Checker | Grammar Check | Essay Checker
Expert Answer
Written Method Called Sum Int Parameter Nums Want Sum Method Compute Sum Nums Code Bug Per Q43887457
We have written a method called sum with an int[] parameternums. We want our sum method to compute the sum of nums, but ourcode has a bug (or perhaps bugs?) in it. TASK: Fix the bug(s).
static int sum(int[] nums) {
int total = 0;
for(int num : nums) { // for-each loop
total += num;
}
}
Sample Input:
1 2 3 4 5
Sample Output:
15
Expert Answer
Answer to We have written a method called sum with an int[] parameter nums. We want our sum method to compute the sum of nums, but…
Written Method Called Sun Int Parameter Nums Want Sum Method Compute Sum Nums Code Bug Per Q43888330
plz solve in javaWe have written a method called sun with an int[] parameter nums. We want our sum method to compute the sum of nums, but our code has a bug (or perhaps bugs?) in it. TASK: Fix the bug(s) Sample Input: 1 2 3 4 5 Sample Output: 15 Write a program, test using stdin – stdout Time limit: 8 seconds Memory limit: 256 MB 1 static int sum(int[] nuns) { 2 int total -e; 3 for(int num : nums) { // for-each loop total + num; 1 point per submission Submit Show transcribed image text We have written a method called sun with an int[] parameter nums. We want our sum method to compute the sum of nums, but our code has a bug (or perhaps bugs?) in it. TASK: Fix the bug(s) Sample Input: 1 2 3 4 5 Sample Output: 15 Write a program, test using stdin – stdout Time limit: 8 seconds Memory limit: 256 MB 1 static int sum(int[] nuns) { 2 int total -e; 3 for(int num : nums) { // for-each loop total + num; 1 point per submission Submit
Expert Answer
Answer to We have written a method called sun with an int[] parameter nums. We want our sum method to compute the sum of nums, but…
Written Public Instance Method Moveby Whose First Argument Int Representing Distance Move Q43831609
I have written a public instance method moveBy() whose firstargument is an int representing the distance to move and whosesecond argument is a char representing the direction in which tomove. It should return no value.
Table 1: Directions and corresponding x and y increments
Direction xInc yInc (this is not a code)Right ‘R’ 1 0Left ‘L’ -1 0Up ‘U’ 0 -1Down ‘D’ 0 1
I need to begin by declaring local int variables xInc and yIncand use the table above to set these for the appropriate incrementsdepending on the supplied argument for direction.
This is what I have done so far: please if someone can correctme and help me! many thanks
public void moveBy(int distance, char direction) {int xInc = 0;int yInc = 0;}
or I tried this for the first bit but it says’ identifierexpected’.
int xInc = 1,-1, 0, 0int yInc = 0, 0, -1, 1
Expert Answer
Answer to I have written a public instance method moveBy() whose first argument is an int representing the distance to move and wh…
Wrong Following Code List New Arraylist List 12 New Arraylist Add Hello Ladd World Collect Q43899434

What is wrong with the following code? List I = new ArrayList(); List 12 = new ArrayList(); I.add(“Hello”); l.add(“World”); Collections.copy(12, 1); O 12 is not the same size as I o 12 holds strings and 11 holds ints O There is nothing wrong with this code O lis a List and 12 is an ArrayList Show transcribed image text What is wrong with the following code? List I = new ArrayList(); List 12 = new ArrayList(); I.add(“Hello”); l.add(“World”); Collections.copy(12, 1); O 12 is not the same size as I o 12 holds strings and 11 holds ints O There is nothing wrong with this code O lis a List and 12 is an ArrayList
Expert Answer
Answer to What is wrong with the following code? List I = new ArrayList(); List 12 = new ArrayList(); I.add(“Hello”); l.add(“World…
We’ll pinpoint places in your paper where you accidentally plagiarized by paraphrasing incorrectly or missing a citation.
We’ll catch grammar errors your spellcheck might not find and give you suggestions to polish your paper.