Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Problem 6.Print Numbers
- //Write a program to print the numbers 1, 101 and 1001, 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