Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace TrainingLab
- {
- class Program
- {
- static void Main(string[] args)
- {
- double w = double.Parse(Console.ReadLine());
- double h = double.Parse(Console.ReadLine());
- double num = (h - 1) * 100 / 70;
- double row = (w * 100 / 120);
- double sum = Math.Floor(num) * Math.Floor(row) - 3;
- Console.WriteLine(sum);
- }
- }
- }
Add Comment
Please, Sign In to add comment