Advertisement
Emilyyy

Untitled

Oct 22nd, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. using System;
  2.  
  3. namespace PetShop
  4. {
  5. class Program
  6. {
  7. static void Main(string[] args)
  8. {
  9. int dogs = int.Parse(Console.ReadLine());
  10. int otherDogs = int.Parse(Console.ReadLine());
  11.  
  12. double dogsPrice = 2.5;
  13. int otherDogsPrice = 4;
  14.  
  15.  
  16. int dogPrice = dogs * price;
  17. double otherDogsPrice = otherDogs * price;
  18. double allprice = dogsPrice + otherDogsPrice;
  19.  
  20.  
  21. }
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement