dimanche 6 décembre 2020

How do I print huge letters by symbols using "do while" loop in C++?

I mean it must look like some kind of a ASCII art. I'm not into programming but I've got it at my school anyways despite the fact I'm not even in IT/Programming class. I've had so far #iostream and #cstdio if it can help. I only have to print one simple letter like for example "T". If it helps here's some stupid code we've done during class:

 #include<iostream>
int main()
{
    int powtorz=5;
    do
    {
    std::cout<<"krzeslo";
    std::cin>>powtorz;
    if(powtorz>0)
    do
    {
        std::cout<<"krzeslo"<<std::endl;
        powtorz--;
    }
    
    while(powtorz>0);
    return 0;
}

Aucun commentaire:

Enregistrer un commentaire