Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- // GONZALES JOHN MICHAEL
- // BSIT CUBAO
- // ACTIVITY 6B
- namespace ACT6_B
- {
- class Program
- {
- public static void Main(string[] args)
- {
- int multiply, i;
- Console.Title = ("ACT5-B BSIT CUBAO ");
- Console.ForegroundColor = ConsoleColor.DarkGreen;
- Console.Write("Input a number:");
- multiply = Convert.ToInt32(Console.ReadLine());
- Console.Write("Times {0} Table", multiply);
- for (i = 0; i <= 12; i++)
- {
- int product = i * multiply;
- Console.WriteLine("{0} * {1} = {2}", i, multiply, product);
- }
- Console.WriteLine("Press any key to continue. . . ");
- Console.ReadKey(true);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment