Suma de Números en C++.NET 2019
#include "stdafx.h"
using namespace System;
int main()
{
int a, b, c;
a = Int16::Parse(Console::ReadLine());
b = Int16::Parse(Console::ReadLine());
c=a+b;
Console::WriteLine(c);
Console::Read();
return 0;
}
using namespace System;
int main()
{
int a, b, c;
a = Int16::Parse(Console::ReadLine());
b = Int16::Parse(Console::ReadLine());
c=a+b;
Console::WriteLine(c);
Console::Read();
return 0;
}
Comentarios