Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace plochki
- {
- class Program
- {
- static void Main(string[] args)
- {
- int N = int.Parse(Console.ReadLine());
- double W = double.Parse(Console.ReadLine());
- double L = double.Parse(Console.ReadLine());
- int M = int.Parse(Console.ReadLine());
- int O = int.Parse(Console.ReadLine());
- int obshtaplosht = N * N;
- int ploshtpeika = M * O;
- int ploshtpokrivane = obshtaplosht - ploshtpeika;
- double ploshtplochka = W * L;
- double plochki =obshtaplosht / ploshtplochka;
- double vreme =plochki * 0.2;
- Console.WriteLine(plochki);
- Console.WriteLine(vreme);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement