C++ nested loops (#13) ➿

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 20

  • @BroCodez
    @BroCodez  4 года назад +27

    #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

  • @freak98703
    @freak98703 2 года назад +10

    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.

  • @youngboss9060
    @youngboss9060 2 года назад +11

    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 :)

  • @anlakgun406
    @anlakgun406 3 года назад +4

    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 .

  • @DArK-xj8lr
    @DArK-xj8lr 3 года назад +11

    such a good quality...
    but underrated :'(

  • @Prince_of_tragedy
    @Prince_of_tragedy 13 дней назад

    Many thanks was very useful

  • @Noah-357
    @Noah-357 2 года назад +1

    Is the width has to be i and the height is j ?

  • @jedthefroggy
    @jedthefroggy 2 месяца назад

    You just activated my almonds bro

  • @SizzleLy
    @SizzleLy 2 года назад +1

    so underrated omg tysm

  • @senaygetachew8130
    @senaygetachew8130 Год назад

    tnx for helping me understand for loop

  • @fyhne6185
    @fyhne6185 2 года назад

    i love u so much bro code

  • @payshanbeamonbekov4961
    @payshanbeamonbekov4961 2 года назад +1

    thank you BRO :)

  • @isaie9057
    @isaie9057 4 года назад +2

    loved it

  • @bozhenakondrat4169
    @bozhenakondrat4169 3 года назад +8

    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

  • @dano.870
    @dano.870 3 года назад

    Dmn nice bro

  • @hammadarbab6371
    @hammadarbab6371 Год назад

    Legend

  • @richardnicod.bernabe2401
    @richardnicod.bernabe2401 2 года назад

    THANKS

  • @akintundeyusuf9128
    @akintundeyusuf9128 2 года назад

    good

  • @Artificially_Creative
    @Artificially_Creative Год назад

    Wow