Advertisement
Spocoman

02. Pounds to Dollars

Jan 15th, 2022
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.29 KB | None | 0 0
  1. using System;
  2.  
  3. namespace PoundsToDollars
  4. {
  5.     class Program
  6.     {
  7.         static void Main()
  8.         {
  9.             Console.WriteLine($"{decimal.Parse(Console.ReadLine()) * 131 / 100:F3}");
  10.     // или: Console.WriteLine($"{int.Parse(Console.ReadLine()) * 1.31:F3}");
  11.         }
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement