Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Write a program to print the numbers 1 (one), 101 (one hundred and one) and 1001 (one thousand and one), each at a separate line.
- using System;
- class PrintNumbers
- {
- static void Main()
- {
- Console.WriteLine(1);
- Console.WriteLine(101);
- Console.WriteLine(1001);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement