Advertisement
Guest User

Untitled

a guest
Apr 16th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5.  
  6. namespace Multiplicaciones
  7. {
  8. class Program
  9. {
  10. static void Main()
  11. {
  12. int a, b, c;
  13. Console.WriteLine("Multiplicacion de 2 numeros");
  14. Console.WriteLine("Ingresar primer valor ");
  15. a = Convert.ToInt16(Console.ReadLine());
  16. Console.WriteLine("Ingresar segundo valor ");
  17. b = Convert.ToInt16(Console.ReadLine());
  18. c = a * b;
  19. Console.WriteLine("El resultado es de {0}*{1}={2}", a, b, c);
  20. Console.ReadLine();
  21. }
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement