Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Threading;
- class Program
- {
- static void Main()
- {
- int rent = int.Parse(Console.ReadLine());
- double statues = rent * 0.70;
- double catering = statues - statues * 0.15;
- double audio = catering * 0.5;
- double total = rent + statues + catering + audio;
- Console.WriteLine($"{total:f2}");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement