# Lesson 3.Integer and float numbers

## Problem «First digit after decimal point» (Easy)

#### Statement

Given a positive real number, print its first digit after a decimal point.## Problem «Car route» (Easy)

#### Statement

A car can cover distance of N kilometers per day. How many days will it take to cover a route of length M kilometers? The program gets two numbers: N and M.## Problem «Total cost» (Medium)

#### Statement

A cupcake costs A dollars and B cents. Determine, how many dollars and cents should one pay for N cupcakes. A program gets three numbers: A, B, N. It should print two numbers: total cost in dollars and cents.## Problem «Clock face - 1» (Hard)

#### Statement

H hours, M minutes and S seconds are passed since the midnight (0 ≤ H < 12, 0 ≤ M < 60, 0 ≤ S < 60). Determine the angle (in degrees) of the hour hand on the clock face right now.## Problem «Clock face - 2» (Hard)

#### Statement

Hour hand turned by α degrees since the midnight. Determine the angle by which minute hand turned since the start of the current hour. Input and output in this problems are floating-point numbers.
Maintainer: Vitaly Pavlenko ([email protected]

Credits to: Denis Kirienko, Vladimir Solomatin, Alexander Garkusha, Vladimir Gurovic, Philip Guo

Content repository

**🐍 Support us 🐍**

Terms and Conditions

Privacy Policy

© 2012–2017