C++ for loops explained

C++ for loops explained

Bro Code

4 месяца назад

18,087 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@criminalx7099
@criminalx7099 - 25.04.2022 21:31

It reduces line of codes.

Ответить
@rivazmardani
@rivazmardani - 29.06.2022 12:49

mantab jiwa

Ответить
@lastwaveundergroundsaviour7037
@lastwaveundergroundsaviour7037 - 20.08.2022 05:39

How come the stopping condition has to be less than and equal? I used just equal and it infinitely looped it. Why is this?

Ответить
@JayChit
@JayChit - 07.04.2024 05:28

int main(){
for(int i = 3; i > 0; i--){
std::cout << i << '\n';
}

std::cout << "BOOM";

Ответить
@crooda3681
@crooda3681 - 17.04.2024 15:00

Happy new year

Ответить
@retardbuster1498
@retardbuster1498 - 04.07.2024 11:48

Thank you bro.

Ответить
@yellowhellow-wi9gi
@yellowhellow-wi9gi - 20.07.2024 14:55

thank you

Ответить
@ins4nutty341
@ins4nutty341 - 27.08.2024 20:19

Quite don't understand the initialization statement can you help me whats the counter means

Ответить
@znedj
@znedj - 12.09.2024 18:08

Thanks.

Ответить
@sohungry9000
@sohungry9000 - 25.09.2024 09:26

int main(){

std::string weekDays[7] = {"Monday\n", "Tuesday\n", "Wednesday\n", "Thursday\n", "Friday\n", "Saturday\n", "Sunday\n"};
int input;


for (int i = 0; i < 7; i++){
std::cout << weekDays[i];

}




return 0;

}

Ответить