Math operators and a challenge Mastery Objectives: Students will— Be able to use augment assignment operators Demonstrate proficiency in using types, variables.

Slides:



Advertisements
Similar presentations
Computing Science Software Design and Development SOFTWARE DESIGN AND DEVELOPMENT USING PYTHON.
Advertisements

Login to eShip Global eShip Global is an online shipping service providing access to contracted shipping carriers for outbound letters and packages. For.
EXAMPLE 1 Finding a Sale Price You are shopping for a guitar and find one with an original price of $160. The store is offering a 30% discount on all guitars.
Algorithms. Software Development Method 1.Specify the problem requirements 2.Analyze the problem 3.Design the algorithm to solve the problem 4.Implement.
Algorithms. Software Development Method 1.Specify the problem requirements 2.Analyze the problem 3.Design the algorithm to solve the problem 4.Implement.
1 Lab Assignment#5 Due 12/7 A car can hold 12 gallons of gasoline and it can travel 360 miles without refuelling. Write a program the displays the trip.
7 th Grade Math Ms. Richardson.  Before, we answered all types of percent questions using proportions.  However, when you are finding the percent of.
POD 4 What number is 25% of 240? p =.25 × 240 basicadvanced p = 60 A used copy of 2K15 costs 75% as much as a new copy. If a used copy is $45.00, then.
DISCOUNTS, SALES TAX, TIPS DISCOUNTS Example: Regular Price = $10 Discount = 20% Step 1 Change the percentage to a decimal Step 2 Multiply the Regular.
Success criteria Complete an assessment Complete some code A grade by the end of the day.
WHAT IS THE DIFFERENCE BETWEEN CALCULATING TAX AND DISCOUNT Question of the day.
Bell Work Discount/Markup Sale Price $6 shirt 20% off _______ _______
Percentage applications
Using Percents to Solve Problems
9-8 6th grade math Finding the Sales Tax.
Applications of Percent
Application of Percents
5.4 Applications of Percent
Percents and Parts of Change (Day 3) Saturday, September 19, 2015 We are learning to…find parts, totals and percents using proportional reasoning.
Why??  Percents are all around us! Sales and discounts shopping Sales Tax Income Taxes Tips on restaurant bills Etc…  When doing problems with % remember.
Do Now 2/11/14 Take out your HW from last night. Take out your HW from last night. Text p. 245, #1-6 Text p. 245, #1-6 Copy HW in your planner. Copy HW.
Algebra 2.9 Applications of Percents. Learning Targets Language Goal  Students will be able to use common applications of percents. Math Goal  Students.
Section 3 Calculations National 4/5 Scratch Course.
12 th April 2012 How to create a new rate plan. 2 Create a new rate plan  Go to „Configuration“  Select „Rate Plans“  Select „Add“  Enter the main.
9.2 Dealers Cost Warm Up 11/13 1) $38,306 + $380 + $715 + $565 = 2) $15,342 + $1,225 + $319 + $90 = 3). $39,966 $16,976 $ 25,184.
Markup and Discount NS 1.4 Calculate given percentages of quantities and solve problems involving discounts at sales, interest earned, and tips. Objective:-Students.
Calculating Tax, Tips, and Commission
Tax, tip, and Markup Notes and examples.
1. 2 Sales tax is calculated by finding the percent of the total purchase.
My Python Programmes NAME:.
Percent Increase Mrs. Kuznia Math 8 Day 13. Percent Increase Examples of Percent Increase: Sales Tax Mark up Tips (gratuity)
EXAMPLE 4 Solve a Multi-Step Problem SOLUTION STEP 1Find the amount of the tip. Your food bill at a restaurant is $24. You leave a 20% tip. The sales tax.
C++ for Everyone by Cay Horstmann Copyright © 2012 by John Wiley & Sons. All rights reserved Chapter Two: Fundamental Data Types Slides by Evan Gallagher.
BUYING A NEW CAR Consumer Math p Key Words  Base price: the first amount listed on a car’s price  Options: extra items added to a car  Transportation.
Percent of Change. Objective: To find the sale price of various items. To use the percent of change formula to find discount.
Sales Tax and Tip SWBAT calculate sales tax and total cost; read and use a tax table; calculate a tip and total cost.
Starter – Its the small things in life What’s wrong with this code Height = 10 Width = 10 A = Height * Width Print A Remember to check: Spelling Spacing.
GCSE Computing: Programming GCSE Programming Remembering Python.
PODPOD What number is 25% of 240? 60. Sales Tax, Tips, and Markup Sales tax is an additional amount of money charged on items that people buy. The total.
Finding Original Amounts.  TODAY’S STANDARD: TODAY’S STANDARD:  CCSS.MATH.CONTENT.7.RP.A.3 Use proportional relationships to solve multistep ratio and.
Buying a Car: Road Tips By Student Name. Trade-Ins  Know car’s value  Clean completely  Wash and wax it  Clean the engine  Make minor repairs  Change.
Percent Applications Sales Tax Tips Interest. is determined by finding a certain percentage of a purchase price. It is added to your total bill when you.
Copyright © 2014, 2010, 2007 Pearson Education, Inc. Slide 1 Percent 7.
CIS 115 All Exercises Devry University (Devry) FOR MORE CLASSES VISIT CIS 115 All Exercises Devry University.
Input, Output and Variables GCSE Computer Science – Python.
CIS 115 Slingshot Academy / cis115.com
Math operations 9/19/16.
Ratios and Proportions Notes-Part 4
The Open Road A vehicle can be a symbol of freedom, but it requires responsibility. What responsibilities come along with owning and operating a vehicle?
Maths in SmallBasic Learning Objectives
Exercise : Write a program that print the final price of purchase at a store where everything costs exactly one dollar. Ask for the number of items purchased.
Step 1:Identify and Define the problem
Agenda: Check Homework/BR: Find the total price to tip 15% on a $85 bill. Quick Check Lesson 7 Discount Homework Course 2, Lesson 2-7.
Percent of Change By Luther Allen, M.Ed.
EXAMPLE 1 Finding a Sale Price
Tax, Tip, Commission SB 11-2 Pages
CIS115 Education for Service-- snaptutorial.com
CIS 115 Teaching Effectively-- snaptutorial.com
G7 programing language Teacher / Shamsa Hassan Alhassouni.
Math and Data Types Practice Problems
Python 19 Mr. Husch.
Tax, Tip, and Commission Math 7 Unit 6.
SECTION 9-2 Dealer’s Cost pp
HW: Correct Ch. 6 Test Materials
SECTION 9-2 pp Dealer’s Cost.
Goal: The learner will multiply to find a percent of a number.
Python 19 Mr. Husch.
GCSE Computing Mini Assignment.
GCSE Computing.
Presentation transcript:

Math operators and a challenge Mastery Objectives: Students will— Be able to use augment assignment operators Demonstrate proficiency in using types, variables and simple i/O

Augmented assignment operators Another way to write a math calculation Less code, harder to read

Useful Augment Assignment Operators OperatorExampleEquivalent *=x*=5x=x*5 /=x/=5x=x/2 %=x%=5x=x%5 +=x+=5x=x+5 -=x-=5x=x-5

Example food = food * 52 Or food *= 52

Printing Strings and Numbers Together print “Grand Total: “, total print “Grand Total: “ + total

Programming Challenges Write a program that allows a user to enter his or her two favorite foods. The program should print out the name of a new food by joining the two food names together. Write a Tip program where the user enters a restaurant bill total. The program should then display two amounts: a 15-percent tip and a 20-percent tip.

Programming Challenges continued Write a Car Salesman program where the user enters the base price of a car. The program should add to the base price tax, license, dealer prep, and destination charge. Make tax and license a percent of the base price. The other fees should be set values. Display the actual price of the car once the extras are applied.

How to turn in Challenges Make sure to comment in your name Print out a copy of the code and the output Staple both copies together: code first, output second Turn in all three challenges as a packet using a paper clip to clip them all together.