Answer:
I can :) just comment lol
The program is an illustration of loops.
Loops are used to perform repetitive and iterative operations.
The program in C++ where comments are used to explain each line is as follows:
#include <iostream>
using namespace std;
int main(){
//This declares and initializes all variables
string star = "*", blank = " ", temp;
//The following iteration is repeated 8 times
for (int i = 1; i <= 8; i++) {
//The following iteration is repeated 8 times
for (int j = 1; j <= 8; j++) {
//This prints stars
if (j % 2 != 0) {
cout << star;
}
//This prints blanks
else if (j % 2 == 0) {
cout << blank;
}
}
//This swaps the stars and the blanks
temp = star;
star = blank;
blank = temp;
//This prints a new line
cout << endl;
}
}
Read more about similar programs at:
brainly.com/question/16240864
Answer:
vvbdndndndndndnznmzxbbsvs
kgkgcicgfhjgyofdhkdyfjfgeghehehehehsbbsbsb
PLS HELP ??? LOL INEED HELP ITS TOO HARD
Explanation:
2.there will be 8 books left on the shelf if each child takes one