I am first year college student and I'm currently taking the course called BSIT and learning a c++ programming language.. and my prof said make a multiplication table program that will ask the user of how much colum and rows.
so im learning python but the for loops are kind of confusing to me this c++ tutorial helped me conceptualize what was actually going on.. thank you so much you are of more use to me than my college professor :)
fyi "i" and "j" are used because in matrixes "i" is being used to define the row of the matrix and "j" is being used to define columns of a matrix. for example if a number in matrix is defined as i = 2 and j= 4 it means the number is on the second row of 4th column .
This is with what I played :) Thank you Bro :) #include #include using namespace std; int main() { char symbol; int width; int height; cout > symbol; cout > width;
#include
#include
#include
using namespace std;
int main()
{
// nested loops
char symbol;
int width;
int height;
cout > symbol;
cout > width;
cout > height;
for (int i = 0; i < height;i++) {
for (int j = 0; j < width; j++) {
cout
I am first year college student and I'm currently taking the course called BSIT and learning a c++ programming language.. and my prof said make a multiplication table program that will ask the user of how much colum and rows.
Ik
so im learning python but the for loops are kind of confusing to me this c++ tutorial helped me conceptualize what was actually going on.. thank you so much you are of more use to me than my college professor :)
fyi "i" and "j" are used because in matrixes "i" is being used to define the row of the matrix and "j" is being used to define columns of a matrix. for example if a number in matrix is defined as i = 2 and j= 4 it means the number is on the second row of 4th column .
such a good quality...
but underrated :'(
Many thanks was very useful
Is the width has to be i and the height is j ?
You just activated my almonds bro
so underrated omg tysm
tnx for helping me understand for loop
i love u so much bro code
thank you BRO :)
loved it
This is with what I played :) Thank you Bro :)
#include
#include
using namespace std;
int main() {
char symbol;
int width;
int height;
cout > symbol;
cout > width;
cout > height;
cout
Dmn nice bro
Legend
THANKS
good
Wow