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