SHARE
TWEET

Untitled

a guest Apr 23rd, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2.  
  3. namespace temp
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             // h = 2.30;
  10.             // approximately Paint Consumption -> ~170 grams per 1 square Meter (Manufacturer's value)
  11.  
  12.             double totalCeilingSqM = 5.75 * 3.35 + 3.65 * 4.85 + 4.25 * 4.55 + 4.85 * 4.71 + 2.15 * 1.5 + 2.5 * 5.1;
  13.  
  14.             double kitchenWallsSqM = (4.85 * 2 + 4.71 * 2) * 2.30 ;
  15.             double bedroomWallsSqM = (4.25 * 2 + 5.55 * 2) * 2.30;
  16.             double livingrooomWallsSqM = (4.85 * 2 + 3.65 * 2) * 2.30;
  17.             double gameZoneWallsSqM = (5.75 * 2 + 3.35 * 2) * 2.30;
  18.             double closetWallsSqM = (5.12 * 2 + 2.50 * 2) * 2.30;
  19.             double corridorWallsSqM = (1.50 * 2 + 2.5 * 2 ) * 2.30;
  20.  
  21.             double totalWallsSqM = kitchenWallsSqM + bedroomWallsSqM + livingrooomWallsSqM + gameZoneWallsSqM + closetWallsSqM + corridorWallsSqM;
  22.  
  23.             //approximately price per 5 kilograms of white paint ~ 15.90 BGN
  24.             //approximately price per 5 kilograms of coloured paint ~ 14.00 BGN
  25.  
  26.             double approximatelyPricePеrFiveKgWhitePaint = 15.90;
  27.             double approximatelyPricePеrFiveKgColourPaint = 14.00;
  28.  
  29.             // one bucket of paint (5 kgs ) should cover approximately 30 square meterers (Manufacturer's value)
  30.             double totalExpensesWhitePaint = totalCeilingSqM / 30 * approximatelyPricePеrFiveKgWhitePaint;
  31.             double totalColourPaint = totalWallsSqM / 30 * approximatelyPricePеrFiveKgColourPaint;
  32.  
  33.             // в сайта на боро пише 170 грама за пълно покриване, което го приемам че означава 2 ръце покритие. Ако не - всичко е Х 2
  34.  
  35.             Console.WriteLine($"Total ceilings square meters: {totalCeilingSqM}");
  36.             Console.WriteLine($"Total expenses for white paint: {totalExpensesWhitePaint:f2} BGN");
  37.             Console.WriteLine("...........");
  38.             Console.WriteLine($"Total walls square meters: {totalWallsSqM}");
  39.             Console.WriteLine($"Total expenses for colour paint: {totalColourPaint:f2} BNG");
  40.             Console.WriteLine(Environment.NewLine);
  41.             Console.WriteLine($"Overall paint expenses: {(totalExpensesWhitePaint + totalColourPaint):f2} BGN");
  42.         }
  43.     }
  44. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top