#include "stdafx.h"
#include <iostream>
#include <string>
using std::wcin;
using std::wcout;
using std::wstring;
int main()
{
wcout << L"Введите предложени е: ";
wstring txt;
getline(std::wc in,txt);
for (size_t i = 0; i < txt.length(); ++i)
{
if (txt[i]==L'а')
wcout << L"15";
if (txt[i]==L'б')
wcout << L"16";
if (txt[i]==L'А')
wcout << L"17";
if (txt[i]==L'в')
wcout << L"18";
if (txt[i]==L'г')
wcout << L"19";
#include <iostream>
#include <string>
using std::wcin;
using std::wcout;
using std::wstring;
int main()
{
wcout << L"Введите предложени е: ";
wstring txt;
getline(std::wc in,txt);
for (size_t i = 0; i < txt.length(); ++i)
{
if (txt[i]==L'а')
wcout << L"15";
if (txt[i]==L'б')
wcout << L"16";
if (txt[i]==L'А')
wcout << L"17";
if (txt[i]==L'в')
wcout << L"18";
if (txt[i]==L'г')
wcout << L"19";
Comment