Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //https://www.hackerrank.com/challenges/30-loops/
- using System;
- using System.Collections.Generic;
- using System.IO;
- using System.Linq;
- class Solution {
- static void Main(String[] args) {
- int n = Convert.ToInt32(Console.ReadLine());
- for(int i = 1; i < 11; i++){
- Console.WriteLine(n + " x " + i + " = " + (n*i));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement