Write a program that checks for car mileage. if the mileage is greater than 100000, display "clunker!". if not, display "buy it!
"
1 answer:
Should be easy to write this program. You need to define function that takes number as input and use if else condition to decide what to print.
For example in Python:
def checkCarMileage(mileage):
if mileage > 100000:
print("clunker!")
else:
print("buy it!")
You might be interested in
True. Gotta have 20 characters to answer
Answer:
I got the same thing
Explanation:
Answer:
I would say D
Explanation:
Answer:
WHERE IS THE PICTURE??????????
During flashbacks you see what happened in the past.