3344227p06s57
30.08.2020 05:36

* Какая фигура будет нарисована:
from turtle import
for i in range (6):
forward (100)
left (60)​

Нажмите на рекламу ниже и сразу увидите ответ
Популярные вопросы:
Ответ:
vikabosch
03.03.2021 11:01

#include <iostream>

#include <string>

using namespace std;

void makeLevel(int n)

{

cout << "*" << endl;

string out ="**";

for(int level=1;level<=n;++level){

  cout << out << endl;

  out.push_back('*');

}

}

void tree(int n)

{

for(int i=1;i<=n;++i){

  makeLevel(i);

}

}

{

cout << "*" << endl;

string out ="**";

for(int level=1;level<=n;++level){

  cout << out << endl;

  out.push_back('*');

}

}

void tree(int n)

{

for(int i=1;i<=n;++i){

  makeLevel(i);

}

}

int main()

{

   int n;

   cin >> n;

   tree(n);

   return 0;

}

Объяснение:

0,0(0 оценок)
Ответ:
136есеп23бет
01.09.2021 10:30
#include <iostream>
#include <stdio.h>
using namespace std;

int main(){
    int y;
    cin>>y;
    y=y%12;
    switch (y){
           case 4:{cout<<"Mouse"; break;}
           case 5:{cout<<"Bull";break;}
           case 6:{cout<<"Tiger";break;}
           case 7:{cout<<"Rabbit";break;}
           case 8:{cout<<"Dragon";break;}
           case 9:{cout<<"Snake";break;}
           case 10:{cout<<"Horse";break;}
           case 11:{cout<<"Goat";break;}
           case 0:{cout<<"Monkey";break;}
           case 1:{cout<<"Cock";break;}
           case 2:{cout<<"Dog";break;}
           case 3:{cout<<"Pig";break;}
           }
    cin.get();
    cin.get();
    return 0;
}
0,0(0 оценок)
Полный доступ
Позволит учиться лучше и быстрее. Неограниченный доступ к базе и ответам от экспертов и ai-bota Оформи подписку
logo
Начни делиться знаниями
Вход Регистрация
Что ты хочешь узнать?
Спроси ai-бота