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

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

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

  • @elsptrue1electrical
    @elsptrue1electrical 11 месяцев назад +73

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

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

      💯

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

      Accept

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

      👌💀

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

      //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 8 дней назад

      @@Vikash7729-l8o badiya bhai

  • @umesh.7235
    @umesh.7235 11 месяцев назад +12

    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 5 месяцев назад

      I also do in 1st try

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

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

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

      Yar ya sahi ha code

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

      Yes bro ❤

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

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

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

      Hello

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

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

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

    using namespace std;
    int main(){
    cout

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

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

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

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

  • @saikrishnareddy2403
    @saikrishnareddy2403 Год назад +79

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

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

      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 9 месяцев назад

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

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

      wrong ans aayega

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

    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!!!!😊😊😊

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

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

  • @madhavndra
    @madhavndra 10 месяцев назад +2

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

    for(int i=6;i

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

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

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

      false

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

      @@Messi-cx6dw how

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

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

  • @__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

  • @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 4 месяца назад +1

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

  • @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.

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

    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 2 года назад +3

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

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

      @@vanshtickoo1341 maine bhi aise hi kra bro

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

    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 10 месяцев назад +1

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

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

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

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

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

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

      Challenge Accepted

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

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

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

      error

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

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

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

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

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

    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.

  • @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

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

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

  • @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

  • @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 👍

  • @amaraqureshi2099
    @amaraqureshi2099 3 года назад +43

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

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

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

    for (i=1; 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

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

      Thanks bro

    • @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

  • @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

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

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

  • @Ayaz8BPYT1
    @Ayaz8BPYT1 9 дней назад

    #include
    using namespace std;
    int main()
    {
    int i=6;
    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

  • @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

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

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

  • @Kotte_animation-c2
    @Kotte_animation-c2 3 месяца назад +1

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

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

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

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

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

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

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

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

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

  • @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❤️

  • @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

  • @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

      @@casper33333 fast University to nhi parhty ?
      😂

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

      @@mohaiman0175 naa yar GU men hun

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

      Private??

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

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

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

    Challenge accepted. Thankyou sir your teaching style is amazing.

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

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

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

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

  • @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

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

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

  • @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 10 месяцев назад +1

    • @snipershorty4218
      @snipershorty4218 10 месяцев назад +9

      int i=1;
      do{
      cout

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  • @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

  • @shreyanshsurana100
    @shreyanshsurana100 10 месяцев назад +5

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

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

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

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

    // Write a code to print multiple of 6:
    #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.

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

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

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

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

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

    challenge accepted and successfully written the code and loving the course

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

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

  • @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 2 года назад

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

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

      @@nemishdevel8015 yeah

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

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

  • @ahmedalishahid2666
    @ahmedalishahid2666 3 года назад +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 )🥲

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

    cout

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

      pura code to likhta chomu

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

      @@dotmashrc 😂😂😂

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

      @@dotmashrc 😂😂😂😂😂😂😂😂

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

      Are subhayau bhay mai anuj hu tere clg ka

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

      @@anujjaiswal7696 hello brother

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

    19.19 i done it thanks for this wonderful course!

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

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

  • @AmanKumar-xf6sr
    @AmanKumar-xf6sr 4 года назад +7

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

  • @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

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

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

  • @Artificial_Intelligence_Learnr
    @Artificial_Intelligence_Learnr 3 месяца назад

    also with for loop :
    int a = 6;
    for (int i = 1; i

  • @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.

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

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

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

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

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

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

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

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

  • @jahidalic54s
    @jahidalic54s 4 года назад +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

  • @pritishmahajan5639
    @pritishmahajan5639 Год назад +14

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

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

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

  • @kajalrajput6085
    @kajalrajput6085 3 года назад +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.?

  • @SonuRaj-co3ss
    @SonuRaj-co3ss 3 года назад +14

    Thankyou so much for your classes ,i m really now motivated for coding . Massive respect for you bro🙏🙏🙏

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

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

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

      ​@@kalpnabelwanshi9567 bhai tere pc faat jayega jaldi se jaldi bhag ja waha se

  • @ShivKumar-kl3vx
    @ShivKumar-kl3vx 3 месяца назад +1

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

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

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

  • @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

  • @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 😂😂😂

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

    i used this method for 6 table
    #include
    using namespace std;
    int main(){
    int i=6
    for( i=6 ; i

  • @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 ❤️🙂

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

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

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

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

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

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

  • @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

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

    "With Great Power comes Great Responsibility"

  • @prathameshsuryawanshi5017
    @prathameshsuryawanshi5017 4 года назад +7

    Please make detailed course on Data Structures and Algorithm...........

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

      Already playlist is there in this channel for data structure and algorithm

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

      @@rajnandinigorai247 wo comment kb ki thi wo to dekho 👀

  • @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 .

  • @aditisingh4952
    @aditisingh4952 3 года назад +14

    Challenge accepted and even completed...OMG I CAN'T BELIEVE MYSELF!!!😂

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

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

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

    challenge Accepted sir ,
    thank you for providing this great series with great teaching

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

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

  • @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