Suma | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Suma

se debe ingresar 2 valores y realizar la suma de ellos

18th Jun 2016, 1:37 AM
Edgar
2 Answers
+ 1
It would be easier for people to help you if you could use english.
18th Jun 2016, 8:23 AM
Klaus
+ 1
I think, this is what you need. Suma = Sum? A program that accepts 2 values and realizes/computes the sum? anyways, here's the code. -- Console.Write("Enter first number: "); int num1 = int.Parse(Console.ReadLine()); Console.Write("Enter second number: "); int num2 = int.Parse(Console.ReadLine()); int sum = num1 + num2; Console.WriteLine("Their sum is : " + sum );
18th Jun 2016, 5:00 PM
erwinmesi
erwinmesi - avatar