Advertisement
Venciity

[SoftUni C#] Introduction - 06.Print Numbers

Mar 7th, 2014
388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.26 KB | None | 0 0
  1. // Write a program to print the numbers 1, 101 and 1001, each at a separate line.
  2. using System;
  3.  
  4. class PrintNumbers
  5. {
  6.     static void Main()
  7.     {
  8.         Console.WriteLine(1);
  9.         Console.WriteLine(101);
  10.         Console.WriteLine(1001);
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement