Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Pet_Shop
- {
- class Program
- {
- static void Main(string[] args)
- {
- int dogs = int.Parse(Console.ReadLine());
- int lastDogs = int.Parse(Console.ReadLine());
- double sum1 = dogs * 2.50;
- double sum2 = lastDogs * 4;
- double totalSum = sum1 + sum2;
- Console.WriteLine("{0} lv", totalSum);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement