Question: Write a if/else function that goes through and labels a Tip Percentage of 16 percent or more as large and less than 16 percent as
Write a if/else function that goes through and labels a Tip Percentage of 16 percent or more as "large" and less than 16 percent as "small".Label this new variable Tip PSLAlso write a if/else function that labels a party size of 4 or more as "large" and a party size of less than 4 as "small".Label this new variable Party SL.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
