Advertisement
kuruku

PrintNumbers

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