Advertisement
NedyalkoKikov

SimpleMenu

May 8th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace SimpleCode
  8. {
  9. class SimpleCode
  10. {
  11. static void Main()
  12. {
  13. double[] nums = Console.ReadLine().Split(' ').Select(double.Parse).ToArray();
  14. Console.WriteLine(@"/-------------------\");
  15. foreach(double num in nums)
  16. {
  17. Console.WriteLine("|{0,19:F2}|",num);
  18. }
  19. }
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement