Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Disclaimer: The creator of 'C# Shell (C# Offline Compiler)' is in no way responsible for the code posted by any user.
- using System;
- using System.IO;
- using System.Linq;
- using System.Collections.Generic;
- namespace CSharp_Shell
- {
- public static class Program
- {
- public static void Main()
- {
- int num01 = 0;
- int num02 = 0;
- Console.Write("enter a number to be multiplied: ");
- num01 = Convert.ToInt32(Console.ReadLine());
- Console.Write("another number: ");
- num02 = Convert.ToInt32(Console.ReadLine());
- Console.WriteLine("the result is " + num01 * num02);
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement