desislava_topuzakova

04. Inches to Cm

Nov 12th, 2023
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. double inches = double.Parse(Console.ReadLine());
  2.  
  3. double cm = inches * 2.54;
  4.  
  5. Console.WriteLine(cm);
Advertisement
Add Comment
Please, Sign In to add comment