Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class Program
- {
- static void Main()
- {
- var width = double.Parse(Console.ReadLine()) * 100;
- var height = double.Parse(Console.ReadLine()) * 100;
- var bura = Math.Truncate((height - 100) / 70);
- var redove = Math.Truncate(width / 120);
- Console.WriteLine("{0}", bura * redove - 3);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment