Advertisement
Shtiler

Untitled

Sep 11th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 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 homework_3
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. int num1;
  14. int num2;
  15. int num3;
  16. Console.WriteLine("Insert The First Number: ");
  17. num1 = int.Parse(Console.ReadLine());
  18. Console.WriteLine("Insert The Second Number:");
  19. num2 = int.Parse(Console.ReadLine());
  20. Console.WriteLine("Insert The Third Number: ");
  21. num3 = int.Parse(Console.ReadLine());
  22. Console.WriteLine("Print Numbers by its place in the series:");
  23. Console.WriteLine("{0} {1} {1} {2} {2} {2}",num1,num2,num3 );
  24. Console.ReadLine();
  25.  
  26. }
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement