Types

4 / 5

Variables of type float can store decimal numbers, like 0.01 or 3.14. The symbol . is used to indicate the decimal. Floats are ideal for quantities on a continuous scale, such as price and weight.

Floats

In this assignment we will write a small application of a scale that weighs apples. Input the weight of apples (in kilograms).
Compute and print the total price, using that apples cost $1.99/kg.

Congratulations!

You passed the !

Welcome!

Would you like a guided tour on how to use Vibewise?

Your email has been verified!