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
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.
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
// 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
@@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
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
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
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!!!!😊😊😊
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
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.
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
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.
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
#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
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.
@@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
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❤️
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
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😂😂
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.
#include
using namespace std;
int main(){
int a=6;
int i=1;
do{
cout
💯
Accept
👌💀
//see the magic in the form of 6 table
#include
using namespace std;
int main ()
{
int a= 6, i=0, b ;
do {
cout
@@Vikash7729-l8o badiya bhai
code for six table:
#include
using namespace std;
int main(){
// 6 table
int i=6;
do{
cout
Yar ya sahi ha code
Yes bro ❤
This is my coding
#include
Using namespace std;
int main(){
int i=6;
while (i
Hello
@@SachinKumar-x6s3e
Yes bro I know your talent 😉
Here is the code for any table using while loop:
#include
using namespace std;
int main()
{
int a;
couta;
int i=1;
while(i
thanku
////MULTIPLE OF 6////
#include
using namespace std;
int main(){
for(int i=6;i
Super fun to do that
# include
Using namespace std;
Int main(){
//For Loop
Int n =6;
for( int i=1; i
Bro are you begineer or intermediate?
Awesome bro. All are correct.
for wale me int n define karne ki zaroorat nahi hai, seedhe cout
@@vanshtickoo1341 vo to while loop mein bhi nahi zaroorat firr , right?
@@vanshtickoo1341 maine bhi aise hi kra bro
For any number, the program for multiplication table
include
using namespace std;
int main()
{
int i;
int n;
cout
i did in small area same thing -
#include
using namespace std;
int main() {
long long int value ;
cout > value;
int b = 1;
while (b
Glt h bhai
@@shivanksharma9956 write to hai @shivank sharma
Pr sir ne to do while loop ka prayog krke tables likhne ko kha tha
wrong ans aayega
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
Challenge accepted sir
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.
int i=1;
do{
cout
Return 0;
}
Thnxx
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
thanks for the code had some difficulty understand this thanks for using all types of loops
Challenge accepted
#include
using namespace std;
int main()
{
for(int i=1; i
Challenge Accepted
Int main() ka last mai curly bracket nhi lgaya aapne
Aur shyd se "i
error
@@RahulKumar-no2ks bhai phele tum dekho 😂😂 usne to sahi likha h
@@samarjeet4967its Was Not Me Bro.. A Fucking Boy Has done this😂😂
#include
using namespace std;
int main() {
int i=1;
1. FOR LOOP
for(i=0;i
in for loop put i in place of 1
Thankyou
Nice👍
In 1 i starts from 1 and i*6
For loop ka galat hai...
Ek variable int a= I*6 lo then cout a karo
// Write a code to print multiple of 6:
#include
using namespace std;
int main(){
int i=1;
do{
cout
this is wrong
@@mrhyper527 yes where is return 0 .
This is too long bro I have done it in much simple way
@@mrhyper527No, not wrong.
Thanks so much.
#include
using namespace std;
int main(){
int i=1,num;
cin>>num;
do{
cout
# include
Using namespace std;
Int main(){
Cout
You have not used d while..instead you have used For.
using for loop.table of 6
#include
using namespace std;
int main(){
for (int i = 1; i
false
@@Messi-cx6dw how
#include
using namespace std;
int main(){
int t =6;
for(int i =1; i
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
I also do in 1st try
int a=6;
for(int i=1; i
// 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
❤
int i=1;
do{
cout
#include
using namespace std;
int main(){
int num,mul,i=1;
coutnum;
do{
mul=num*i;
cout
#include
using namespace std;
int main(){
int j = 1;
for (int i = 1; i
#include
using namespace std;
int main()
{
//cout
using namespace std;
int main(){
cout
#include
using namespace std;
int main ()
{
int a, i=0, b ;
cout
#include
using namespace std;
int main() {
int i=23;
int j=1;
while(j
#include
using namespace std;
int main() {
int i=6;
while(i
18:40
# include
# include
using namespace std;
int main(){
int n;
cout
#include
using namespace std;
int main(){
for(int i = 1; i
Swep kya hain bhai ?
And bhai ap kon se year main ho collage ke
@@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
@@Face_the_Reality same here brother
@@StudentLinker oh really
Good luck 👍
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
Challenge Accepted:-
The Code for the Given Challenge is:-
#include
#include
#include
using namespace std;
int main()
{
int n;
cout
bhai apko pehle hi ati ha coding ye sab kuch to abhi harry ne sikhaya hi ni jo ap ne kiya
Thanks bro
Sir mera code ye the
#include
Using namespace std;
Int main(){
cout
@@blasty_.0 bhai while ma condition change krdo jitni bar bhi chalana chahtay ho
@@soniverma4927you will get error
18:40 //Quiz Accept By Saksham Chaurasia...
Question --> Print table of 6?
Answer -->
#include
#include
using namespace std;
int main()
{
int no;
cout > no;
cout
Challenge accepted bhaiya ji
The code for the given Challenge is:-
#include
using namespace std;
int main(){
int a;
cout
a*i hoga bhai please correct this
do while sai bola tha
@@gkwithrk4940 shi hai
@@surprise3740 ha output to thik ayega tumhara code se but a*i se format shi ho jayega
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
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
it does not work
@@saadcraftycreation remove comment and try
On my pc they all run successfully
@@ranveerjadhav928 bro tune galat likha hai :)
@@playwithsammm YEAH
Thanks bro
Thanks bhaiya.. done with multiplication table of 6 till 10 times. Code given below:
For Loop:
// int i;
// for (i=6; i
Bhai sirf Do while use Krna tha
#include
using namespace std;
int main(){
for(int i=1;i
challenge accepted and challenge done within 10 minutes
#include
using namespace std;
int main()
{
int a = 6, b = 1 ;
do{
cout
Challenge accepted 👍
#include
using namespace std;
int main(){
//This will print the table of six;
int i = 6;
do{
cout
Challenge Accepted 👍👍
#include
using namespace std;
int main () {
int i = 1;
do {
cout
Wrong code h bro
Cout
Table of SIX using do-while loop :
#include
using namespace std;
int main (){
int i = 1;
do {
cout
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!!!!😊😊😊
Challenge Accepted
#include
using namespace std;
int main()
{
int i=1;
do{
cout
Harry Bhai kindly nested loop ko explain kr dain in c++. Insahllah soon you will get 1 million subscriber. love from Pakistan.
♥🔥
Now he has almost 6 million subscribers 😍
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
I think if you don't increase the variable used in the condition, the loop becomes infinite.
i made that mistake too
Thanks bro
@@sapnewapne For stop the infinite loop we can type crtl + c Is that mean you saying??
@@nemishdevel8015 yeah
# include
using namespace std;
int main() {
int i=1;
do {
cout
Good your so intelligent
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.
#include
Using namespace std;
int a=6
int main(){
for(i=1,i=
#include
using namespace std;
int main()
{
/*Table of 6*/
int i;
for(i=1;i
#include
using namespace std;
int main ()
{
//using while loop
/* int i=1,n=6;
while(i
Challenge accepted
#include
using namespace std;
int main()
{
int table=6;
for(int i=1; i
#include
using namespace std;
int main()
{
for(int i=1; i
#include
using namespace std;
int main() {
int i=1;
1. FOR LOOP
for(i=0;i
Challenge accepted 👍🏻😁
wrong answer
Thnks for help brother👍👍
19:17 Challenge accepted.
#include
using namespace std;
int main(){
int i=6;
do
{
cout
CHALLENGE ACCEPTED
// MULTIPLICATION TABLE OF 6 USING DO-WHILE LOOP
#include
using namespace std;
int main(){
int i=0, a=6;
cout
You should initialize i=1
& i
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
Can you explain this a little bit?
#include
Using namespace std;
void func(int n){
for(int i=1; i
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.
*PROGRAM TO PRINT AN INFINITE TABLE OF ANY NUMBER ENTERED BY USER*
#include
using namespace std;
int main()
{
cout
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
#include
using namespace std;
int main(){
int a=6;
for ( int i=1; i
table of 6
#include
using namespace std;
int main() {
int i = 6;
do
{
cout
challenge accepted:
#include
using namespace std;
int main(){
int t=1,n,table=0;
coutn;
while(t
Wow..
Isme do while kha Hain show off
Google
Ek variable kam lenge to memory consumption kam hoga. Table variable ke bina bhi banega ye.
challenged accepted sir int i=1;
do{
cout
Bhai mene bhi same code dala he mera error aa rha he 😢
use( ; ) in the last line
#include
using namespace std;
int main(){
int i;
cout
#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
Acha Kia Maine lecture dekhne se phle comment pdh liya . Ab pura lecture ka summary mil gya. Ab lecture dekhne ki koi jarurat nhi 😂😂😂
Challenge accepted and done with all the 3 loops.
Thanks sir💖
Challange Accepted
//For Loop
#include
int main () {
int A =1 , B =6;
for (A=1 ; A
2. #include
using namespace std;
int main() {
for (int i = 6; i
// WAP to show the multiplication table of 6
#include
using namespace std;
int main(){
cout
Ap nay I ko initialize he nai krwaya
@@alishbabibi1493 loop ke variables ke liye initialization ki jaroorat nhi hoti hai.
@@jahidalic54s it will give 0 as the first result. i think it would be i=1.
@@alishbabibi1493 For loop ke andar hi Initialization hai. While aur do-while me pehle initialization karte hai
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.
same scenes yaar I didn't understand anything in university
same buddy
@@casper33333 fast University to nhi parhty ?
😂
@@mohaiman0175 naa yar GU men hun
Private??
Just started watching your videos as an absolute beginner. Learning a lot.
Challenge accepted...👍
for multiplication table of 6 or any other number:
#include
using namespace std;
int main(){
int n, i;
coutn;
for (i=1; i
cout
pura code to likhta chomu
@@dotmashrc 😂😂😂
@@dotmashrc 😂😂😂😂😂😂😂😂
Are subhayau bhay mai anuj hu tere clg ka
@@anujjaiswal7696 hello brother
Challenge accepted. Thankyou sir your teaching style is amazing.
1 --> For Loop
#include
using namespace std;
int main(){
for(int i = 1; i
what are you doing now in coding
@@ARPITYADAV-nv9hd DSA in C++
@@anshwadhwa4765 from where??
@@ARPITYADAV-nv9hd apna college and geeksforgeeks
Day-08
Comleted upto Tutorial 10
10-12-2022
Loops_In_C++
Love u harry sir
CHALLENGE ACCEPTED AND DONE ALSO.
// CODE FOR THE TABLE OF 6 USING WHILE LOOP.
// int i=1;
// int main(){
// while(i
thanku👍
And you can also include a line
N line for different number value so you can print table of any number
And put n istead of 6
Challenge accepted
#include
using namespace std;
int main(){
int i=1;
do{
cout
Nycc
1. // The table of any number you enter
2. #include
3. using namespace std;
4. int main(){
5. int n;
6. cout
Challange accepted! I know its been 1 year but thank you harry bhai
For (int i =6; i
More optimized solution ..
int n=6;
for (i=1;i
bhai ye shyd galat haii compile krte mein chalta jara haii
@@AmanSingh-br1nr that good code
@@shashanktirkey8178 nope actually he forgot to write int i
@@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
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❤️
challenge accepted and successfully written the code and loving the course
Table of 6 is:
#include
using namespace std;
int main(){
int a = 6;
int i = 1;
do{
cout
Challenge accepted and completed too using all the three loops... Now this concepts are getting cleared after going through your lectures..
Challenge accepted and completed using all three loops and so far it's going smooth.
Challenge accepted and completed! Nice teaching, keep up the wonderful content.
Home work done :
#include
using namespace std;
int main(){
cout
challenge accepted and executed very well by all loops.
harry bhaiya your teaching is just amazing.
19.19 i done it thanks for this wonderful course!
#include
using namespace std;
int main(){
int i;
for(i=1;i
I used for loop for writing the table. My concept of loops is clear. Thanks.
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
I am from Pakistan but good programming easy method to explain code .INSHALLH I follow this code
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😂😂
@@priyanshusharma2144 History repeated bruh ; afg vs nz (smile in pain )🥲
#include
using namespace std;
int main()
{
int i=1;
int j=6;
do{
int k=i*j;
cout
Just started with your lectures and they're really helpful. Nice work
harry bro challenge accepted
# include
using namespace std;
int main(){
int i,n;
cout
nice logic bro
how to solve same qus with do while loo0
15:52 "with great power comes great responsibility"spider man😅
Far From Home😂
😂😂😂
#include
using namespace std;
int main(){
int i=0,c=6;
//table for multiplication of 6 using do while loop------->
do
{
cout
Learning C++ after C makes me understand well and better
I learnt very much from you Thanks Sir....
Sir challenge accepted .Completed the challenge using all the three loops.
#include
using namespace std ;
int main()
{ for(int i= 1 ; i
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.
Challenge accepted
Edit:Successfully written the code using all 3 loops
"With Great Power comes Great Responsibility"
6 Table using While Loops:
#include
using namespace std;
int main(){
int i=1;
while(i
Challenge accepted sir. You have done a good job. Thanks for all the hard work.
Are You pursuing Bsc computer science.?
from Mumbai
challenge accepted and code is also executed
thank you for this lovey course
what's up bro how's life in mumbai?
I'm from delhi never been to Maharashtra
Challenge accepted and even completed...OMG I CAN'T BELIEVE MYSELF!!!😂
That Wasn't That Hard Aditi. Btw Keep It Up👍✨
# include
using namespace std;
int main(){
int i=6;
do{
cout
U r really helping beginners like me thank you so much do prepare such many courses
Harry bhai first view ❤️❤️❤️❤️
wow!sir you are on fire 🔥 today.Thanks for this.
*CHALLENGE ACCEPTED SIR*
#include
using namespace std;
int main()
{
cout
Excellent 🤘🏻✌🏻👍👍
behtareen