Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int n = int.Parse(Console.ReadLine());
- for (int m = 1; m <= n; m++)
- {
- double discounted = Math.Round(0.35*double.Parse(Console.ReadLine()), 2);
- if (m == n)
- {
- for (int p = 1; p <= n; p++)
- {
- Console.WriteLine(discounted);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement