Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace The_Better_Music_Producer
- {
- class MainClass
- {
- public static void Main (string[] args)
- {
- ulong numberSoldE = ulong.Parse(Console.ReadLine ());
- double priceAlbumEuro = double.Parse(Console.ReadLine ());
- ulong numberSoldNA = ulong.Parse(Console.ReadLine ());
- double priceAlbumDolar = double.Parse(Console.ReadLine ());
- ulong numberAlbumSA = ulong.Parse(Console.ReadLine ());
- double priceAlbumPasos = double.Parse(Console.ReadLine ());
- ulong concerts = ulong.Parse(Console.ReadLine ());
- double ProfitEuro = double.Parse(Console.ReadLine ());
- double priceAlbumlvE = (priceAlbumEuro * numberSoldE) * 1.94;
- double priceAlbumlvNA = (priceAlbumDolar * numberSoldNA) * 1.72;
- double priceAlbumlvSA = (priceAlbumPasos * numberAlbumSA) / 332.74;
- double albumLV = priceAlbumlvE + priceAlbumlvNA + priceAlbumlvSA;
- albumLV = albumLV - albumLV * 35 / 100;
- albumLV = albumLV - albumLV * 20 / 100;
- double concertLV = (ProfitEuro * concerts) * 1.94;
- concertLV = concertLV - concertLV * 15 / 100;
- if (albumLV > concertLV) {
- Console.WriteLine ("Let's record some songs! They'll bring us {0:F2}lv.", albumLV);
- } else {
- Console.WriteLine ("On the road again! We'll see the world and earn {0:F2}lv.", concertLV);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement