#include <iostream>
using namespace std;
int main() {
string imie="Valeriia";
//zakoduj powyższy łańcuch znaków
int rozmiar=imie.length();
cout<<rozmiar<<"\n";
for(int i=0; i<rozmiar; i++)
{
cout<<(int)imie[i]<<" ";
}
//zamiana kodu ascll na znak
cout<<"\n";
int nazwa[]=();
int dlugosc=sizeof(nazwa)/sizeof(nazwa[0]);
cout<<dlugosc;
for(int i=0; i<dlugosc; i++)
{
cout<<(char)nazwa[i];
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: