#include int main() { for(int i = 10; i > 0; i--){ //count down to 10 std::cout
@crooda36816 ай бұрын
Happy new year
@criminalx70992 жыл бұрын
It reduces line of codes.
@rivazmardani2 жыл бұрын
mantab jiwa
@ins4nutty341Ай бұрын
Quite don't understand the initialization statement can you help me whats the counter means
@yashraj52_Ай бұрын
can you describe more clearly what you didn't understood. I can help you.
@c0ola1d2 жыл бұрын
#include int main(){ int count = 0; char yorn; std::string name[50]; do{ std::cout > name[count]; std::cout
@lastwaveundergroundsaviour70372 жыл бұрын
How come the stopping condition has to be less than and equal? I used just equal and it infinitely looped it. Why is this?
@oximas-oe9vf2 жыл бұрын
i don'tget why it infenetly looped for you but the reason why you set it to less than or equal is because the for loop keeps going as long as the condition (i
@znedjАй бұрын
Thanks.
@yellowhellow-wi9gi2 ай бұрын
thank you
@sohungry900020 күн бұрын
int main(){ std::string weekDays[7] = {"Monday ", "Tuesday ", "Wednesday ", "Thursday ", "Friday ", "Saturday ", "Sunday "}; int input; for (int i = 0; i < 7; i++){ std::cout
@Gavin_NA3 ай бұрын
#include #include int main() { for (int i = 1; i
@Nati-uu4ph3 ай бұрын
#include int main(){ for(int i=10; i >= 1; i--){ std::cout
@Yousif_Maksabo3 ай бұрын
#include int main () { for (int i=10; i>=1; i-- ) { std::cout
@parpaperchimp8 ай бұрын
#include int main(){ For(int i =0;i>= 0;i-=2) std::cout>>”this doesn’t even display something”\’n’; //this literally doesn’t do anything I wrote this as an assignment return 0;}
@krustykunal4027 ай бұрын
you forgot curly bracket For(int i =0;i>= 0;i-=2){ std::cout>>”this doesn’t even display something”\’n’; }
@parpaperchimp7 ай бұрын
@@krustykunal402 thanks man
@JayChit6 ай бұрын
int main(){ for(int i = 3; i > 0; i--){ std::cout
@Lokvie2 ай бұрын
You're such a huge help my try: #include #include int main() { for (int i = 1; i