"""
Demonstrates arithmetic with mixed ints and floats.

Uncomment each section to demonstrate different mixed number operations.
"""

#Example 1 - Adding ints together.

#Declares a variable named value1 and assigns it the value 10
value1 = 10

#Declares a variable named value2 and assigns it the value 20
value2 = 20

#Declares a variable named total1
#Assigns the sum of value1 and value2 to total1
#total1's data type will be int
total1 = value1 + value2

#Prints the value of total1
print(total1)

#********************************#
print()

#Example 2 - Adding a float and int together

"""
#Declares a variable named value3 and assigns it the value 90.5
value3 = 90.5

#Declares a variable named value4 and assigns it the value 40
value4 = 20

#Declares a variable named total2
#Assigns the sum of value3 and value3 to total2
#total2's data type will be float
total2 = value3 + value4

#Prints the value of total2
print(total2)
"""
#********************************#
print()

#Example 3 - Adding floats together

"""
#Declares a variable named value5 and assigns it the value 15.6
value5 = 15.6

#Declares a variable named value6 and assigns it the value 7.5
value6 = 7.5

#Declares a variable named total3
#Assigns the sum of value5 and value6 to total3
#total3's data type will be float
total3 = value5 + value6

#Prints the value of total3
print(total3)
"""      
#********************************#
print()

#Example 4 - Multiple operands

"""
#Declares a variable named result
#Assigns the sum of total1, total2, and total3 to result
#result's data type will be float (int + float + float = float)
result = total1 + total2 + total3

#Prints the value of result
print(result)        
"""

"""
Demonstrates arithmetic with mixed ints and floats.

Uncomment each section to demonstrate different mixed number operations.
"""

#Example 1 - Adding ints together.

#Declares a variable named value1 and assigns it the value 10
value1 = 10

#Declares a variable named value2 and assigns it the value 20
value2 = 20

#Declares a variable named total1
#Assigns the sum of value1 and value2 to total1
#total1's data type will be int
total1 = value1 + value2

#Prints the value of total1
print(total1)

#********************************#
print()

#Example 2 - Adding a float and int together

"""
#Declares a variable named value3 and assigns it the value 90.5
value3 = 90.5

#Declares a variable named value4 and assigns it the value 40
value4 = 20

#Declares a variable named total2
#Assigns the sum of value3 and value3 to total2
#total2's data type will be float
total2 = value3 + value4

#Prints the value of total2
print(total2)
"""
#********************************#
print()

#Example 3 - Adding floats together

"""
#Declares a variable named value5 and assigns it the value 15.6
value5 = 15.6

#Declares a variable named value6 and assigns it the value 7.5
value6 = 7.5

#Declares a variable named total3
#Assigns the sum of value5 and value6 to total3
#total3's data type will be float
total3 = value5 + value6

#Prints the value of total3
print(total3)
"""      
#********************************#
print()

#Example 4 - Multiple operands

"""
#Declares a variable named result
#Assigns the sum of total1, total2, and total3 to result
#result's data type will be float (int + float + float = float)
result = total1 + total2 + total3

#Prints the value of result
print(result)        
"""

Demonstrates arithmetic with mixed ints and floats.  Uncomment each section to demonstrate different mixed number operations. #Example 1 - Adding ints together. #Declares a variable named value1 and assigns it the value 10 #Declares a variable named value2 and assigns it the value 20 #Declares a variable named total1 #Assigns the sum of value1 and value2 to total1 #total1's data type will be int #Prints the value of total1 #********************************# #Example 2 - Adding a float and int together #Declares a variable named value3 and assigns it the value 90.5 value3 = 90.5  #Declares a variable named value4 and assigns it the value 40 value4 = 20  #Declares a variable named total2 #Assigns the sum of value3 and value3 to total2 #total2's data type will be float total2 = value3 + value4  #Prints the value of total2 print(total2) #********************************# #Example 3 - Adding floats together #Declares a variable named value5 and assigns it the value 15.6 value5 = 15.6  #Declares a variable named value6 and assigns it the value 7.5 value6 = 7.5  #Declares a variable named total3 #Assigns the sum of value5 and value6 to total3 #total3's data type will be float total3 = value5 + value6  #Prints the value of total3 print(total3) #********************************# #Example 4 - Multiple operands #Declares a variable named result #Assigns the sum of total1, total2, and total3 to result #result's data type will be float (int + float + float = float) result = total1 + total2 + total3  #Prints the value of result print(result)