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
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.
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 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.
@@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 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
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 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
// 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
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.
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
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 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❤️
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😂😂
@@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
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
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(){ /*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
#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
////MULTIPLE OF 6////
#include
using namespace std;
int main(){
for(int i=6;i
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
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
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
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
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 😉
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
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
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
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
19:17 Challenge accepted.
#include
using namespace std;
int main(){
int i=6;
do
{
cout
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😂😂
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
# include
Using namespace std;
Int main(){
Cout
You have not used d while..instead you have used For.
#include
using namespace std;
int main(){
int i=1,num;
cin>>num;
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 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 main() {
int i=6;
while(i
#include
Using namespace std;
int a=6
int main(){
for(i=1,i=
#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 👍
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
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
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
@@blasty_.0
try this
#include
#include
using namespace std;
int main()
{
long long int t;
cout t;
int i = 1;
cout
Table of SIX using do-while loop :
#include
using namespace std;
int main (){
int i = 1;
do {
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.
*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
challenge accepted and challenge done within 10 minutes
#include
using namespace std;
int main()
{
int a = 6, b = 1 ;
do{
cout
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
1. // The table of any number you enter
2. #include
3. using namespace std;
4. int main(){
5. int n;
6. cout
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
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 😍
#include
using namespace std;
int main ()
{
//using while loop
/* int i=1,n=6;
while(i
int a=6;
for(int i=1; i
Challenge Accepted
#include
using namespace std;
int main()
{
int i=1;
do{
cout
Challenge accepted 👍
#include
using namespace std;
int main(){
//This will print the table of six;
int i = 6;
do{
cout
#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
for multiplication table of 6 or any other number:
#include
using namespace std;
int main(){
int n, i;
coutn;
for (i=1; i
// 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.
table of 6
#include
using namespace std;
int main() {
int i = 6;
do
{
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
❤
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
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??
Challenge accepted. Thankyou sir your teaching style is amazing.
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=0,c=6;
//table for multiplication of 6 using do while loop------->
do
{
cout
Just started watching your videos as an absolute beginner. Learning a lot.
Challenge accepted...👍
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 and done with all the 3 loops.
Thanks sir💖
Table of 6 is:
#include
using namespace std;
int main(){
int a = 6;
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
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
Challenge Accepted 👍👍
#include
using namespace std;
int main () {
int i = 1;
do {
cout
Wrong code h bro
Cout
challenge accepted and successfully written the code and loving the course
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.
Challenge accepted and completed too using all the three loops... Now this concepts are getting cleared after going through your lectures..
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.
multiplication table for any value:
#include
using namespace std;
int main(){
int a;
couta;
for(int 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 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❤️
Day-08
Comleted upto Tutorial 10
10-12-2022
Loops_In_C++
Love u harry sir
#include
using namespace std;
int i=2;
int j=1;
int main(){
do{
cout
Challenge accepted and completed! Nice teaching, keep up the wonderful content.
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 )🥲
Challenge accepted and completed using all three loops and so far it's going smooth.
# include
using namespace std;
int main() {
int i=1;
do {
cout
Good your so intelligent
I used for loop for writing the table. My concept of loops is clear. Thanks.
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👍👍
# include
using namespace std;
int main(){
int i=6;
do{
cout
15:52 "with great power comes great responsibility"spider man😅
Far From Home😂
😂😂😂
Learning C++ after C makes me understand well and better
19.19 i done it thanks for this wonderful course!
#include
Using namespace std;
Int main();
Int i= 6;
do{
Cout
i++60;
}
While( i
Just started with your lectures and they're really helpful. Nice work
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
#include
using namespace std;
int main(){
int i=1;
do{
cout
Nycc
#include
using namespace std;
int main(){
for(int i=1;i
#include
using namespace std;
int main()
{
/*Table of 6*/
int i;
for(i=1;i
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
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 i=1;
int j=6;
do{
int k=i*j;
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
I learnt very much from you Thanks Sir....
// 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
Hw
//Program to run the table of 6
#include
using namespace std;
int main(){
int a = 6;
int b = 1;
do
{
cout
Sir challenge accepted .Completed the challenge using all the three loops.
"With Great Power comes Great Responsibility"
Challenge accepted sir. You have done a good job. Thanks for all the hard work.
Are You pursuing Bsc computer science.?
//multiplication table for 6
#include
using namespace std;
int main(){
int i=0,product;
while(i
U r really helping beginners like me thank you so much do prepare such many courses
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
6 Table using While Loops:
#include
using namespace std;
int main(){
int i=1;
while(i
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 .
#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 😂😂😂
Harry bhai first view ❤️❤️❤️❤️
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
// Printing table of 6 using do while loop
#include
using namespace std;
int main()
{
int i = 1;
do
{
cout
think this is good
Yes
Confusing 🤔🤔
Simply you can write :- cout line ----->
cout
cout
@@dikshajain9845 give space to see better --->
cout
Challenge accepted
Edit:Successfully written the code using all 3 loops
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
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
#include
using namespace std;
int main(){
int a=6;
for ( int i=1; i
Challenge accepted & done bro!!
Your teaching style is best!!! Thank you so much 😃
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 ❤️🙂