Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Fishland
- {
- class Program
- {
- static void Main(string[] args)
- {
- double SkumPrice = double.Parse(Console.ReadLine());
- double CacaPrice = double.Parse(Console.ReadLine());
- double PalaPrice = double.Parse(Console.ReadLine());
- double SafrPrice = double.Parse(Console.ReadLine());
- double MidiPrice = double.Parse(Console.ReadLine());
- var palamud = SkumPrice + SkumPrice * 0.6;
- var PalaSum = PalaPrice * palamud;
- var safrid = CacaPrice + CacaPrice * 0.8;
- var SafrSum = SafrPrice * safrid;
- var midi = MidiPrice * 7.50;
- var total = PalaSum + SafrSum + midi;
- Console.WriteLine($"{total:f2}");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment