A
Allen Maki
//Hi there,
//I need help.
//If I run the program and entered 100 at the prompt, I will get 45
//(garbage).
//Can anybody tell me what am I doing wrong? And how it can be corrected?
#include "stdafx.h"
#using <mscorlib.dll>
using namespace System;
using namespace System::IO;
int _tmain()
{
//Read from Screen
Int32 K = Console::Read();
Console::Write(K);
return 0;
//I need help.
//If I run the program and entered 100 at the prompt, I will get 45
//(garbage).
//Can anybody tell me what am I doing wrong? And how it can be corrected?
#include "stdafx.h"
#using <mscorlib.dll>
using namespace System;
using namespace System::IO;
int _tmain()
{
//Read from Screen
Int32 K = Console::Read();
Console::Write(K);
return 0;