Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Conditional_Statements_Homework___jumpstart__
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Write("number1= ");
- int num1 = Int32.Parse(Console.ReadLine());
- Console.Write("number2= ");
- int num2 = Int32.Parse(Console.ReadLine());
- if (num1 % num2 == 0)
- {
- Console.WriteLine("{0} is a multiple {1}",num1,num2);
- }
- else
- {
- Console.WriteLine("{0} is not a multiple {1}",num1,num2);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment