For, While and do-while loops in C++ | C++ Tutorials for Beginners #10

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

Комментарии • 7 тыс.

  • @elsptrue1electrical
    @elsptrue1electrical Год назад +104

    #include
    using namespace std;
    int main(){
    int a=6;
    int i=1;
    do{
    cout

    • @Nurvic
      @Nurvic 9 месяцев назад +1

      💯

    • @ajaykushwaha3303
      @ajaykushwaha3303 8 месяцев назад +2

      Accept

    • @deathyt445
      @deathyt445 8 месяцев назад +1

      👌💀

    • @Vikash7729-l8o
      @Vikash7729-l8o 6 месяцев назад +4

      //see the magic in the form of 6 table
      #include
      using namespace std;
      int main ()
      {
      int a= 6, i=0, b ;
      do {
      cout

    • @dhruvtatduru
      @dhruvtatduru Месяц назад

      @@Vikash7729-l8o badiya bhai

  • @madhavndra
    @madhavndra Год назад +5

    ////MULTIPLE OF 6////
    #include
    using namespace std;
    int main(){

    for(int i=6;i

  • @saikrishnareddy2403
    @saikrishnareddy2403 2 года назад +88

    For any number, the program for multiplication table
    include
    using namespace std;
    int main()
    {
    int i;
    int n;
    cout

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

      i did in small area same thing -
      #include
      using namespace std;
      int main() {
      long long int value ;
      cout > value;
      int b = 1;
      while (b

    • @shivanksharma9956
      @shivanksharma9956 Год назад +7

      Glt h bhai

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

      @@shivanksharma9956 write to hai @shivank sharma

    • @adeshvaishya3674
      @adeshvaishya3674 11 месяцев назад

      Pr sir ne to do while loop ka prayog krke tables likhne ko kha tha

    • @skachade
      @skachade 9 месяцев назад +1

      wrong ans aayega

  • @umesh.7235
    @umesh.7235 Год назад +17

    You are the best 💚💚.
    I am a beginner and i did it in first try😊😊:
    #include
    using namespace std;
    int main(){
    int num=6,multiplier=1;
    do
    {
    cout

    • @SumitthBlue
      @SumitthBlue 7 месяцев назад

      I also do in 1st try

  • @viplovekaithwas5816
    @viplovekaithwas5816 2 года назад +19

    Here is the code for any table using while loop:
    #include
    using namespace std;
    int main()
    {
    int a;
    couta;
    int i=1;
    while(i

  • @aman.saklanii
    @aman.saklanii 11 месяцев назад +7

    le printing all tables using all type of loops ::
    #include
    using namespace std;
    // priting multiplication table using all loops ;
    int main()
    {
    int a, i = 1;
    cout a;
    cout

    • @Tellers_Of_Tales
      @Tellers_Of_Tales 11 месяцев назад +1

      thanks for the code had some difficulty understand this thanks for using all types of loops

  • @a-20-vikas_boarde.26
    @a-20-vikas_boarde.26 Год назад +57

    code for six table:
    #include
    using namespace std;
    int main(){
    // 6 table
    int i=6;
    do{
    cout

    • @Bukhari426
      @Bukhari426 9 месяцев назад +4

      Yar ya sahi ha code

    • @SachinKumar-x6s3e
      @SachinKumar-x6s3e 9 месяцев назад +5

      Yes bro ❤

    • @SachinKumar-x6s3e
      @SachinKumar-x6s3e 9 месяцев назад +2

      This is my coding
      #include
      Using namespace std;
      int main(){
      int i=6;
      while (i

    • @SachinKumar-x6s3e
      @SachinKumar-x6s3e 9 месяцев назад +2

      Hello

    • @Bukhari426
      @Bukhari426 9 месяцев назад

      @@SachinKumar-x6s3e
      Yes bro I know your talent 😉

  • @arandomyoutubewatcher4308
    @arandomyoutubewatcher4308 8 месяцев назад +20

    using namespace std;
    int main(){
    cout

    • @Vikash7729-l8o
      @Vikash7729-l8o 6 месяцев назад +4

      #include
      using namespace std;
      int main ()
      {
      int a, i=0, b ;
      cout

    • @Gamer-dy1bn
      @Gamer-dy1bn 5 месяцев назад

      #include
      using namespace std;
      int main() {
      int i=23;
      int j=1;
      while(j

  • @spdevile9690
    @spdevile9690 3 года назад +364

    Super fun to do that
    # include
    Using namespace std;
    Int main(){
    //For Loop
    Int n =6;
    for( int i=1; i

    • @harshdiwase3231
      @harshdiwase3231 3 года назад +10

      Bro are you begineer or intermediate?

    • @siddharthshah8609
      @siddharthshah8609 3 года назад +6

      Awesome bro. All are correct.

    • @vanshtickoo1341
      @vanshtickoo1341 3 года назад +19

      for wale me int n define karne ki zaroorat nahi hai, seedhe cout

    • @pranavmaniyar9901
      @pranavmaniyar9901 3 года назад +3

      @@vanshtickoo1341 vo to while loop mein bhi nahi zaroorat firr , right?

    • @karandeepsingh2125
      @karandeepsingh2125 3 года назад

      @@vanshtickoo1341 maine bhi aise hi kra bro

  • @gSquare67
    @gSquare67 Год назад +8

    using for loop.table of 6
    #include
    using namespace std;
    int main(){
    for (int i = 1; i

    • @Messi-cx6dw
      @Messi-cx6dw 10 месяцев назад

      false

    • @gSquare67
      @gSquare67 10 месяцев назад

      @@Messi-cx6dw how

    • @Messi-cx6dw
      @Messi-cx6dw 10 месяцев назад

      #include
      using namespace std;
      int main(){
      int t =6;
      for(int i =1; i

  • @khizrshaikh9902
    @khizrshaikh9902 3 года назад +130

    18:38
    Challenge Accepted!
    19:07
    // Quick Quiz: write a multiplication table using do-while loop
    // Quick Quiz Solution:
    int i = 1;
    int multiplicationNumber = 6;
    do
    {
    cout

    • @adityaraj-zm7zk
      @adityaraj-zm7zk 3 года назад +1

      Challenge accepted sir

    • @amazonhaikya5700
      @amazonhaikya5700 3 года назад +1

      This Code is not the real solution this code gives us value till 66 because it's do while loop when condition comes i=11 it is false in our given condition but it atleast run once.

    • @DrBond003
      @DrBond003 3 года назад

      int i=1;
      do{
      cout

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

      Return 0;
      }
      Thnxx

  • @SamarthChawlaSam
    @SamarthChawlaSam 5 месяцев назад +1

    19:17 Challenge accepted.
    #include
    using namespace std;
    int main(){
    int i=6;
    do
    {
    cout

  • @tusharpatil9138
    @tusharpatil9138 4 года назад +147

    Challenge accepted
    #include
    using namespace std;
    int main()
    {
    for(int i=1; i

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

      Challenge Accepted

    • @iamyuvraj9359
      @iamyuvraj9359 4 года назад +8

      Int main() ka last mai curly bracket nhi lgaya aapne
      Aur shyd se "i

    • @uveshshaikh2040
      @uveshshaikh2040 4 года назад +1

      error

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

      @@RahulKumar-no2ks bhai phele tum dekho 😂😂 usne to sahi likha h

    • @RahulKumar-no2ks
      @RahulKumar-no2ks 4 года назад

      @@samarjeet4967its Was Not Me Bro.. A Fucking Boy Has done this😂😂

  • @motivationalTalks810
    @motivationalTalks810 Год назад +34

    Challenge accepted bhaiya ji
    The code for the given Challenge is:-
    #include
    using namespace std;
    int main(){
    int a;
    cout

    • @gkwithrk4940
      @gkwithrk4940 Год назад +1

      a*i hoga bhai please correct this

    • @gtaburn7397
      @gtaburn7397 Год назад +4

      do while sai bola tha

    • @surprise3740
      @surprise3740 Год назад +1

      @@gkwithrk4940 shi hai

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

      @@surprise3740 ha output to thik ayega tumhara code se but a*i se format shi ho jayega

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

      i wrote only for table of 6 but now by seing your code i got idea about using it to apply to many different fields

  • @AnjaliKumari-tu2iz
    @AnjaliKumari-tu2iz 2 года назад +5

    # include
    Using namespace std;
    Int main(){
    Cout

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

      You have not used d while..instead you have used For.

  • @Anasop335
    @Anasop335 11 месяцев назад +1

    #include
    using namespace std;
    int main(){
    int i=1,num;
    cin>>num;
    do{
    cout

  • @pulastyabhagwat7774
    @pulastyabhagwat7774 Год назад +25

    Challenge accepted and Completed Successfully. Sir you are really great teacher, Before I started learning coding from you I used to find it boring but now I have started to enjoy it!!!!😊😊😊

  • @NewbieValorantYT
    @NewbieValorantYT 2 года назад +55

    Challenge accepted and completed sir. You are one of the best educators I have even seen, Thank you so much for all your efforts . Please keep making such wonderful content sir.

  • @shivansharma1310
    @shivansharma1310 5 лет назад +4

    #include
    using namespace std;
    int main() {
    int i=6;
    while(i

  • @devvarshney7011
    @devvarshney7011 7 месяцев назад +2

    #include
    Using namespace std;
    int a=6
    int main(){
    for(i=1,i=

  • @Face_the_Reality
    @Face_the_Reality 2 года назад +7

    #include
    using namespace std;
    int main(){
    for(int i = 1; i

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

      Swep kya hain bhai ?

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

      And bhai ap kon se year main ho collage ke

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

      @@StudentLinker I don’t know
      And I have just passed 12th.
      I did not choose computer in 9th and 11th. Therefore, I haven’t much knowledge about it. I am just learning it because I am interested in it

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

      @@Face_the_Reality same here brother

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

      @@StudentLinker oh really
      Good luck 👍

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

    Thanks bhaiya.. done with multiplication table of 6 till 10 times. Code given below:
    For Loop:
    // int i;
    // for (i=6; i

  • @nishankkose
    @nishankkose 2 года назад +79

    Challenge Accepted:-
    The Code for the Given Challenge is:-
    #include
    #include
    #include
    using namespace std;
    int main()
    {
    int n;
    cout

    • @AhmadKhan-nf4ej
      @AhmadKhan-nf4ej 2 года назад +17

      bhai apko pehle hi ati ha coding ye sab kuch to abhi harry ne sikhaya hi ni jo ap ne kiya

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

      Sir mera code ye the
      #include
      Using namespace std;
      Int main(){
      cout

    • @AhmadKhan-nf4ej
      @AhmadKhan-nf4ej 2 года назад

      @@blasty_.0 bhai while ma condition change krdo jitni bar bhi chalana chahtay ho

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

      @@soniverma4927you will get error

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

      @@blasty_.0
      try this
      #include
      #include
      using namespace std;
      int main()
      {
      long long int t;
      cout t;
      int i = 1;
      cout

  • @adamali785
    @adamali785 4 месяца назад

    Table of SIX using do-while loop :
    #include
    using namespace std;
    int main (){
    int i = 1;
    do {
    cout

  • @kumarkundan5606
    @kumarkundan5606 3 года назад +128

    Challenge accepted & completed also using all the 3 loops, YOUR TEACHING is just so good, I'm just a beginner & I'm understanding each & every code so well.

    • @Shinchan-qr6qw
      @Shinchan-qr6qw 2 года назад +2

      *PROGRAM TO PRINT AN INFINITE TABLE OF ANY NUMBER ENTERED BY USER*
      #include
      using namespace std;
      int main()
      {
      cout

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

      Agr infinite loop m fas gye or mujhe pta nhi tha ctrl+c se stop ho jata h tho mne vs code ki window ko hi close kar diya tho kuch problem tho nhi hogi na, mne code vha se bhi delete kar diya jha ye vs code ki file save hoti h

  • @gamingandtechexperto2003
    @gamingandtechexperto2003 11 месяцев назад +4

    challenge accepted and challenge done within 10 minutes
    #include
    using namespace std;
    int main()
    {
    int a = 6, b = 1 ;
    do{
    cout

  • @user-nm4vn9tq5o
    @user-nm4vn9tq5o 3 года назад +23

    Caution:
    13:36 Never put semicolon (;)after the condional statement in while and do while loops, otherwise infinite loop will start playing.And you laptop will start heating.
    I went through this situation while watching this tutorial today.
    A quick fix for this in vs code is : Ctrl+C or Ctrl+Alt+M

    • @sapnewapne
      @sapnewapne 3 года назад +1

      I think if you don't increase the variable used in the condition, the loop becomes infinite.

    • @sapnewapne
      @sapnewapne 3 года назад +1

      i made that mistake too

    • @mk223gaming9
      @mk223gaming9 3 года назад

      Thanks bro

    • @nemishdevel8015
      @nemishdevel8015 3 года назад

      @@sapnewapne For stop the infinite loop we can type crtl + c Is that mean you saying??

    • @Shawn-ff3xg
      @Shawn-ff3xg 2 года назад

      @@nemishdevel8015 yeah

  • @gametech91
    @gametech91 5 месяцев назад

    1. // The table of any number you enter
    2. #include
    3. using namespace std;
    4. int main(){
    5. int n;
    6. cout

  • @sufiyanmogal1527
    @sufiyanmogal1527 2 года назад +20

    Challenge Completed 👍 Printing the table of 6 using do while loop
    #include
    using namespace std;
    int main(){
    // Printing Table of 6 using do while loop
    int i = 1;
    do{
    cout

  • @amaraqureshi2099
    @amaraqureshi2099 4 года назад +47

    Harry Bhai kindly nested loop ko explain kr dain in c++. Insahllah soon you will get 1 million subscriber. love from Pakistan.

  • @rishabhpandey9445
    @rishabhpandey9445 2 года назад +6

    #include
    using namespace std;
    int main ()
    {
    //using while loop
    /* int i=1,n=6;
    while(i

  • @hridaybhaskar-cse1706
    @hridaybhaskar-cse1706 Месяц назад +2

    int a=6;
    for(int i=1; i

  • @parthdeshpande8019
    @parthdeshpande8019 Год назад +6

    Challenge Accepted
    #include
    using namespace std;
    int main()
    {
    int i=1;
    do{
    cout

  • @yptechtips2420
    @yptechtips2420 Год назад +7

    Challenge accepted 👍
    #include
    using namespace std;
    int main(){
    //This will print the table of six;
    int i = 6;
    do{
    cout

  • @TheHacksNation
    @TheHacksNation 4 года назад +95

    #include
    using namespace std;
    int main() {
    int i=1;
    1. FOR LOOP
    for(i=0;i

  • @PragyaSingh-of8zr
    @PragyaSingh-of8zr 7 месяцев назад

    for multiplication table of 6 or any other number:
    #include
    using namespace std;
    int main(){
    int n, i;
    coutn;

    for (i=1; i

  • @digitalyash6252
    @digitalyash6252 2 года назад +78

    // Write a code to print multiple of 6:
    #include
    using namespace std;
    int main(){
    int i=1;
    do{
    cout

  • @shreyanshsurana100
    @shreyanshsurana100 Год назад +5

    table of 6
    #include
    using namespace std;
    int main() {
    int i = 6;
    do
    {
    cout

  • @ezazsarkar125
    @ezazsarkar125 Год назад +72

    // Include Header Files
    #include
    // Using Standard Library
    using namespace std;
    // Main Function
    int main() {
    // Variable Declaration
    int num = 1;
    int table = 6;
    // Do-While Loop
    do
    {
    cout

    • @ShaheerShah-o8t
      @ShaheerShah-o8t Год назад +1

    • @snipershorty4218
      @snipershorty4218 Год назад +9

      int i=1;
      do{
      cout

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

      #include
      using namespace std;
      int main(){
      int num,mul,i=1;
      coutnum;
      do{
      mul=num*i;
      cout

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

      #include
      using namespace std;
      int main(){
      int j = 1;
      for (int i = 1; i

    • @royalprince_ff
      @royalprince_ff 11 месяцев назад +2

      #include
      using namespace std;
      int main()
      {
      //cout

  • @jawadshakeel9475
    @jawadshakeel9475 2 года назад +94

    Challenge done after 2 years 😂
    By the way, love you sir! I have just started my CS degree and I wasn't able to understand loops from anyone and its just you who made it possible.

    • @uzairkhan7413
      @uzairkhan7413 2 года назад +6

      same scenes yaar I didn't understand anything in university

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

      same buddy

    • @mohaiman0175
      @mohaiman0175 2 года назад +2

      @@casper33333 fast University to nhi parhty ?
      😂

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

      @@mohaiman0175 naa yar GU men hun

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

      Private??

  • @ajnn3750
    @ajnn3750 3 года назад +12

    Challenge accepted. Thankyou sir your teaching style is amazing.

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

    challenged accepted sir int i=1;
    do{
    cout

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

      Bhai mene bhi same code dala he mera error aa rha he 😢

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

      use( ; ) in the last line

  • @sushovanchakraborty4908
    @sushovanchakraborty4908 10 месяцев назад

    #include
    using namespace std;
    int main(){
    int i=0,c=6;
    //table for multiplication of 6 using do while loop------->
    do
    {
    cout

  • @jigyasachoudhary3508
    @jigyasachoudhary3508 2 года назад +6

    Just started watching your videos as an absolute beginner. Learning a lot.
    Challenge accepted...👍

  • @rishitsharma95
    @rishitsharma95 Год назад +7

    18:56
    Made the challenge a little better , I added an input for the number whose table is to be printed by the user:
    #include
    using namespace std;
    void dowhileloop(){
    //A separate function
    int i;
    cout

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

    Challenge accepted and done with all the 3 loops.
    Thanks sir💖

  • @Studywithconsistentcy
    @Studywithconsistentcy 6 месяцев назад

    Table of 6 is:
    #include
    using namespace std;
    int main(){
    int a = 6;
    int i = 1;
    do{
    cout

  • @ranveerjadhav928
    @ranveerjadhav928 2 года назад +27

    challange accepted:
    FOR ALL 3 LOOPS
    #include
    using namespace std;
    int main()
    {
    /*
    TYPE OF LOOPS:
    TERE ARE 3 TYPE OF LOOP
    1.FOR LOOP
    2.WHILE LOOP
    3.DO-WHILE LOOP
    */
    // int i=1;
    // cout

  • @nirmalsugandhi5528
    @nirmalsugandhi5528 Год назад +4

    Challenge Accepted 👍👍
    #include
    using namespace std;
    int main () {
    int i = 1;
    do {
    cout

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

    challenge accepted and successfully written the code and loving the course

  • @manunair3591
    @manunair3591 5 месяцев назад

    Home work done :
    #include
    using namespace std;
    int main(){
    cout

  • @akashmishra4623
    @akashmishra4623 3 года назад +18

    challenge accepted and executed very well by all loops.
    harry bhaiya your teaching is just amazing.

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

    Challenge accepted and completed too using all the three loops... Now this concepts are getting cleared after going through your lectures..

  • @rohankumar6315
    @rohankumar6315 4 года назад +8

    challenge accepted:
    #include
    using namespace std;
    int main(){
    int t=1,n,table=0;
    coutn;
    while(t

  • @nekochan1510-o4e
    @nekochan1510-o4e 6 месяцев назад

    multiplication table for any value:
    #include
    using namespace std;
    int main(){
    int a;
    couta;
    for(int i=1; i

  • @shubhayubose345
    @shubhayubose345 4 года назад +732

    cout

    • @dotmashrc
      @dotmashrc 3 года назад +84

      pura code to likhta chomu

    • @ravisheksingh7498
      @ravisheksingh7498 3 года назад +7

      @@dotmashrc 😂😂😂

    • @rajujat6955
      @rajujat6955 3 года назад +3

      @@dotmashrc 😂😂😂😂😂😂😂😂

    • @anujjaiswal7696
      @anujjaiswal7696 2 года назад +8

      Are subhayau bhay mai anuj hu tere clg ka

    • @shubhamtanwar361
      @shubhamtanwar361 2 года назад +2

      @@anujjaiswal7696 hello brother

  • @kasturimohapatra9157
    @kasturimohapatra9157 2 года назад +18

    Challenge accepted bhaiya🙏
    Thank you bhaiya for this great video.I am a non computer science student but I understand each and every concept very clearly also learning c at first help me a lot❤️

  • @AnEngineerHuman
    @AnEngineerHuman 2 года назад +5

    Day-08
    Comleted upto Tutorial 10
    10-12-2022
    Loops_In_C++
    Love u harry sir

  • @prateek6485
    @prateek6485 5 месяцев назад

    #include
    using namespace std;
    int i=2;
    int j=1;
    int main(){
    do{
    cout

  • @thecomputer1424
    @thecomputer1424 Год назад +8

    Challenge accepted and completed! Nice teaching, keep up the wonderful content.

  • @ahmedalishahid2666
    @ahmedalishahid2666 4 года назад +8

    I am from Pakistan but good programming easy method to explain code .INSHALLH I follow this code

    • @priyanshusharma2144
      @priyanshusharma2144 3 года назад +1

      Why don't you watch pakistani channel for coding, 😂😂Why you always be dependent on India like qualifying world Cup 2019 pakistan depend upon ind vs eng match😂😂

    • @deepanshu2780
      @deepanshu2780 3 года назад

      @@priyanshusharma2144 History repeated bruh ; afg vs nz (smile in pain )🥲

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

    Challenge accepted and completed using all three loops and so far it's going smooth.

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

    # include
    using namespace std;
    int main() {
    int i=1;
    do {
    cout

  • @latabhosale3407
    @latabhosale3407 3 года назад +10

    I used for loop for writing the table. My concept of loops is clear. Thanks.

  • @Shivamkumar-xu6hu
    @Shivamkumar-xu6hu 4 года назад +34

    Challenge accepted
    #include
    using namespace std;
    int main()
    {
    int table=6;
    for(int i=1; i

    • @tamalmajumder5894
      @tamalmajumder5894 4 года назад +5

      #include
      using namespace std;
      int main()
      {
      for(int i=1; i

    • @TheHacksNation
      @TheHacksNation 4 года назад +14

      #include
      using namespace std;
      int main() {
      int i=1;
      1. FOR LOOP
      for(i=0;i

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

      Challenge accepted 👍🏻😁

    • @techblender6970
      @techblender6970 4 года назад +1

      wrong answer

    • @rishiarora9799
      @rishiarora9799 4 года назад

      Thnks for help brother👍👍

  • @ibrahimmohsin8047
    @ibrahimmohsin8047 6 месяцев назад

    # include
    using namespace std;
    int main(){
    int i=6;
    do{
    cout

  • @Mayankkumar-hq6is
    @Mayankkumar-hq6is 4 года назад +44

    15:52 "with great power comes great responsibility"spider man😅

  • @abhijitmanna4524
    @abhijitmanna4524 3 года назад +11

    Learning C++ after C makes me understand well and better

  • @lyrical89017
    @lyrical89017 3 года назад +10

    19.19 i done it thanks for this wonderful course!

  • @sakinajaweria7255
    @sakinajaweria7255 5 месяцев назад

    #include
    Using namespace std;
    Int main();
    Int i= 6;
    do{
    Cout
    i++60;
    }
    While( i

  • @kshitizsinghchauhan7464
    @kshitizsinghchauhan7464 3 года назад +27

    Just started with your lectures and they're really helpful. Nice work

  • @zeff9629
    @zeff9629 3 года назад +7

    Challange accepted! I know its been 1 year but thank you harry bhai
    For (int i =6; i

    • @devanshtripathi9082
      @devanshtripathi9082 3 года назад +7

      More optimized solution ..
      int n=6;
      for (i=1;i

    • @AmanSingh-br1nr
      @AmanSingh-br1nr 3 года назад

      bhai ye shyd galat haii compile krte mein chalta jara haii

    • @shashanktirkey8178
      @shashanktirkey8178 3 года назад

      @@AmanSingh-br1nr that good code

    • @ashutosh14003
      @ashutosh14003 3 года назад

      @@shashanktirkey8178 nope actually he forgot to write int i

    • @ashutosh14003
      @ashutosh14003 3 года назад

      @@devanshtripathi9082 bhai int i ni likha pahli galti doosri galti n*i k liye variablr bnaya hi ni hai tu toh tune directly kise daal diya usse cout mein woh unknown cheej hai toh shyd value ni dega bhut fault hai bhai dekh le ek baar tu hi

  • @atgamingstudios6445
    @atgamingstudios6445 4 года назад +5

    Challenge accepted
    #include
    using namespace std;
    int main(){
    int i=1;
    do{
    cout

  • @pulkit8133
    @pulkit8133 11 месяцев назад +1

    #include
    using namespace std;
    int main(){
    for(int i=1;i

  • @pritishmahajan5639
    @pritishmahajan5639 2 года назад +14

    #include
    using namespace std;
    int main()
    {
    /*Table of 6*/
    int i;
    for(i=1;i

  • @shrutika1852
    @shrutika1852 3 года назад +5

    The course is very cool.👍 But the practice set was wanted. I mean, like any other language, it would have been perfect.
    If there is a practice set, please share it with everyone

  • @eitoes
    @eitoes 3 года назад +18

    Challenge accepted bhaiya!
    Loving this course and thank you for providing such a quality course for free.
    Edit: Completed the challenge successfully using all three loops.

  • @theAR_editz
    @theAR_editz 9 месяцев назад +1

    #include
    using namespace std;
    int main()
    {
    int i=1;
    int j=6;
    do{
    int k=i*j;
    cout

  • @ishitabhattacharyya9882
    @ishitabhattacharyya9882 Год назад +19

    CHALLENGE ACCEPTED
    // MULTIPLICATION TABLE OF 6 USING DO-WHILE LOOP
    #include
    using namespace std;
    int main(){
    int i=0, a=6;
    cout

  • @AmanKumar-xf6sr
    @AmanKumar-xf6sr 5 лет назад +7

    I learnt very much from you Thanks Sir....

  • @jahidalic54s
    @jahidalic54s 5 лет назад +12

    // WAP to show the multiplication table of 6
    #include
    using namespace std;
    int main(){
    cout

    • @alishbabibi1493
      @alishbabibi1493 3 года назад

      Ap nay I ko initialize he nai krwaya

    • @jahidalic54s
      @jahidalic54s 3 года назад

      @@alishbabibi1493 loop ke variables ke liye initialization ki jaroorat nhi hoti hai.

    • @dotmashrc
      @dotmashrc 3 года назад +2

      @@jahidalic54s it will give 0 as the first result. i think it would be i=1.

    • @sarojbiswas7032
      @sarojbiswas7032 3 года назад

      @@alishbabibi1493 For loop ke andar hi Initialization hai. While aur do-while me pehle initialization karte hai

  • @KrishOm-ip4zk
    @KrishOm-ip4zk 5 месяцев назад

    Hw
    //Program to run the table of 6
    #include
    using namespace std;
    int main(){
    int a = 6;
    int b = 1;
    do
    {
    cout

  • @edwingeorge9823
    @edwingeorge9823 3 года назад +9

    Sir challenge accepted .Completed the challenge using all the three loops.

  • @SandyTriedGaming
    @SandyTriedGaming 2 года назад +5

    "With Great Power comes Great Responsibility"

  • @Skyhighgirl
    @Skyhighgirl 4 года назад +11

    Challenge accepted sir. You have done a good job. Thanks for all the hard work.

    • @AirmenAcademy
      @AirmenAcademy 3 года назад

      Are You pursuing Bsc computer science.?

  • @harisshibli6913
    @harisshibli6913 10 месяцев назад

    //multiplication table for 6
    #include
    using namespace std;
    int main(){
    int i=0,product;
    while(i

  • @rajendrajadhav307
    @rajendrajadhav307 4 года назад +12

    U r really helping beginners like me thank you so much do prepare such many courses

  • @iamvikasharma
    @iamvikasharma 2 года назад +9

    Challange Accepted
    //For Loop
    #include
    int main () {
    int A =1 , B =6;
    for (A=1 ; A

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

      2. #include
      using namespace std;
      int main() {
      for (int i = 6; i

  • @Mukal202
    @Mukal202 6 месяцев назад

    6 Table using While Loops:
    #include
    using namespace std;
    int main(){
    int i=1;
    while(i

  • @rajatsahu9313
    @rajatsahu9313 4 года назад +4

    Hey Harry bhaiya.
    Accepted your chalange .
    I wrote table of 6 with for loop .
    Thank you so much for your help.
    This series is very helpful for me .

  • @BloggerAkhil
    @BloggerAkhil 2 года назад +13

    #include
    using namespace std;
    int main(){
    /*Loops in C++:
    There are three types of loops in C++:
    1. For loop
    2. While Loop
    3. do-While Loop
    */
    /*For loop in C++*/
    // int i=1;
    // cout

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

      Acha Kia Maine lecture dekhne se phle comment pdh liya . Ab pura lecture ka summary mil gya. Ab lecture dekhne ki koi jarurat nhi 😂😂😂

  • @ajaykumarsingh8862
    @ajaykumarsingh8862 5 лет назад +13

    Harry bhai first view ❤️❤️❤️❤️

  • @SAGAR-fx1xz
    @SAGAR-fx1xz 3 года назад +5

    from Mumbai
    challenge accepted and code is also executed
    thank you for this lovey course

    • @vaibhav7457
      @vaibhav7457 3 года назад

      what's up bro how's life in mumbai?
      I'm from delhi never been to Maharashtra

  • @PrithviVlogs247
    @PrithviVlogs247 4 года назад +35

    // Printing table of 6 using do while loop
    #include
    using namespace std;
    int main()
    {
    int i = 1;
    do
    {
    cout

    • @debabratasahoo578
      @debabratasahoo578 4 года назад +1

      think this is good

    • @finite7353
      @finite7353 4 года назад +1

      Yes

    • @Aryavart..
      @Aryavart.. 4 года назад +6

      Confusing 🤔🤔
      Simply you can write :- cout line ----->
      cout

    • @dikshajain9845
      @dikshajain9845 4 года назад +6

      cout

    • @Aryavart..
      @Aryavart.. 4 года назад +3

      @@dikshajain9845 give space to see better --->
      cout

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

    Challenge accepted
    Edit:Successfully written the code using all 3 loops

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

    harry bro challenge accepted
    # include
    using namespace std;
    int main(){
    int i,n;
    cout

  • @anshwadhwa4765
    @anshwadhwa4765 2 года назад +14

    1 --> For Loop
    #include
    using namespace std;
    int main(){
    for(int i = 1; i

  • @achintya7904
    @achintya7904 11 месяцев назад +1

    #include
    using namespace std;
    int main(){
    int a=6;
    for ( int i=1; i

  • @yashkumar7812
    @yashkumar7812 4 года назад +5

    Challenge accepted & done bro!!
    Your teaching style is best!!! Thank you so much 😃

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

    Thanks for your efforts sir .....sir ..i m in 1st year of engineering my subject is cs
    And yours video is very helpful to me ....thank a lot ❤️🙂