Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Nums1_10
- {
- class Program
- {
- static void Main(string[] args)
- {
- double rent = double.Parse(Console.ReadLine());
- double cakePrice = rent * 0.20;
- double drinksPrice = (cakePrice / 100) * 55;
- double animatorPrice = rent / 3;
- double finalPrice = rent + cakePrice + drinksPrice + animatorPrice;
- Console.WriteLine(finalPrice);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement