Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Promoted
Bacalao
Lv 5
C++ How can I do a nested for loop for *?
Umm, so I got this assigned for my C++ homework and I don't understand how do it.
// Write a code block that uses nested for-loops (and no
// if-statements or switch-statements) to produce this sequence of
// 4 lines of asterisks (that is, the char value '*'):
// *
// **
// ***
// ****
Can anyone help out?
2 Answers
Relevance
Still have questions? Get your answers by asking now.