hawzze

PetShop_SoftUni

Jul 9th, 2020
47
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2.  
  3. namespace softuni1
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             double s = 2.50;
  10.             double d = 4;
  11.             double sKucheta = double.Parse(Console.ReadLine());
  12.             double dKucheta = double.Parse(Console.ReadLine());
  13.  
  14.             double sumS = sKucheta * s;
  15.             double sumD = dKucheta * d;
  16.            double total = sumS + sumD;
  17.  
  18.             Console.WriteLine($"{total} lv.");
  19.                
  20.  
  21.  
  22.         }
  23.  
  24.     }
  25. }
RAW Paste Data