Untitled

 avatar
user_5811307
plain_text
2 months ago
805 B
0
Indexable
Never
#include <iostream>
#include <cmath>
#include <string>
#include <vector>

using namespace std;

void fuu(string* names)
{
    string name = *names;
    for(int i =0; i<name.length(); i++)
    {
        if(name[i] == 'o') name[i] = 'a';
        else if(name[i] == 'a') name[i] = 'o';
        else if(name[i] == 'A') name[i] = 'O';
        else if(name[i] == 'O') name[i] = 'A';
    }

    *names = name;
}

int main()
{
    string name;
    cin >> name;
    fuu(&name);

    printf("       _.---._    /\\\\\n"
           "    ./'       \"--`\\//\n"
           "  ./              o \\          .-----.\n"
           " /./\\  )______   \\__ \\        ( %s )\n"
           "./  / /\\ \\   | \\ \\  \\ \\       /`-----'\n"
           "   / /  \\ \\  | |\\ \\  \\7--- ooo ooo ooo ooo ooo ooo", name.c_str());
}
Leave a Comment