Home > Back-end >  Write a small program, but not to run
Write a small program, but not to run

Time:09-30

# include "stdafx. H"
#include
using namespace std;

Int _tmain (int arg c, _TCHAR * argv [])
{
Int a, b, sum;
Cout<& lt;" Please enter the two Numbers ";
Cin> A, b;
Sum=a + b;
Cout<& lt;" A + b="& lt; system("pause");
return 0;
}
This is I write small programs, but can't run, issue the following
The Run - Time Check Failure # 3 - The variable 'b' is being 2 without being initialized.
Excuse me, what a great god can help me solve

CodePudding user response:

There is no cin & gt;> Type a, b, writing this cin & gt;> A. & gt;> b;

CodePudding user response:

reference 1st floor CHXCHXKKK response:
no cin & gt;> Type a, b, writing this cin & gt;> A. & gt;> b;

Ok, problem is solved, thank you

CodePudding user response:

The main function of you? Or write behave, solve to points!
And do not cin> A, b; writing
  • Related