--Originally published at Programing 101
the difficult part: the hard part was know the “while” and the “if” because i didn’t know the logic of them, also i dint know what was the “rand” started for
the easy part: once i knew what do i had to do i start programing all over and over again because in the terminal said that i had wrong something
what i learned
- “Rand” is the formula to give a number between any variable you give
- “srand(time(NULL))” is the formula to make rand give any number overtime you used it
- “while” is the formula to repeat an action inside the “int main”
- “puts” is a variable to “cout”
>>>c++ page command<<<