Text Practice Mode
C++ code for training
created Apr 14th, 18:12 by Matteo Castellano
1
25 words
14 completed
5
Rating visible after 3 or more votes
00:00
#include <iostream>
using namespace std;
main(){
char v[20];
cin>>v;
char v2[20];
cin>>v2;
for(int i=0;i<4;i++){
cout<<v[i];
}
for(int i=0;i<4;i++){
cout<<v2[i];
}
if(*v==*v2){
cout<<"ciaokdajw";
}
cout<<endl;
}
using namespace std;
main(){
char v[20];
cin>>v;
char v2[20];
cin>>v2;
for(int i=0;i<4;i++){
cout<<v[i];
}
for(int i=0;i<4;i++){
cout<<v2[i];
}
if(*v==*v2){
cout<<"ciaokdajw";
}
cout<<endl;
}
saving score / loading statistics ...