Advertisement
Guest User

Untitled

a guest
Sep 11th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace homework_1
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. int num1;
  14. int num2;
  15. int sum;
  16. Console.WriteLine("Insert The First Number: ");
  17. num1 = int.Parse(Console.ReadLine());
  18. Console.WriteLine("Insert The Second Number:");
  19. num2 = int.Parse(Console.ReadLine());
  20. sum = num1 - num2;
  21. Console.WriteLine("The First Number Minus The Second Number:" + sum);
  22. Console.ReadLine();
  23. }
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement