#include "stdafx.h" using namespace System; int main() { String^ str; while ((str = Console::ReadLine()) != nullptr) { Console::WriteLine( str->ToUpper() ); } }