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!!!!😊😊😊
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
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
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 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❤️
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 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.
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
// 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
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
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
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
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.
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
#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
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
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
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
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!!!!😊😊😊
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
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
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
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
# include
Using namespace std;
Int main(){
Cout
You have not used d while..instead you have used For.
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
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
#include
using namespace std;
int main(){
int i=1,num;
cin>>num;
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 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.
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
Table of SIX using do-while loop :
#include
using namespace std;
int main (){
int i = 1;
do {
cout
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
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 👍
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 😍
for multiplication table of 6 or any other number:
#include
using namespace std;
int main(){
int n, i;
coutn;
for (i=1; i
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
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
#include
using namespace std;
int main()
{
int i=1;
do{
cout
#include
using namespace std;
int main()
{
int i=6;
do
{
cout
Challenge accepted 👍
#include
using namespace std;
int main(){
//This will print the table of six;
int i = 6;
do{
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
Just started watching your videos as an absolute beginner. Learning a lot.
Challenge accepted...👍
#include
using namespace std;
int main(){
int i;
for(i=1;i
Challenge accepted and done with all the 3 loops.
Thanks sir💖
#include
using namespace std;
int main() {
int i=6;
while(i
challenge accepted and challenge done within 10 minutes
#include
using namespace std;
int main()
{
int a = 6, b = 1 ;
do{
cout
#include
using namespace std;
int main(){
int a=6;
for ( int i=1; i
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❤️
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 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 👍👍
#include
using namespace std;
int main () {
int i = 1;
do {
cout
Wrong code h bro
Cout
Challenge accepted. Thankyou sir your teaching style is amazing.
#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
1. // The table of any number you enter
2. #include
3. using namespace std;
4. int main(){
5. int n;
6. cout
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 and completed too using all the three loops... Now this concepts are getting cleared after going through your lectures..
// 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
#include
using namespace std;
int main(){
for(int i=1;i
Challenge accepted and completed using all three loops and so far it's going smooth.
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.
challenge accepted and executed very well by all loops.
harry bhaiya your teaching is just amazing.
#include
Using namespace std;
Int main();
Int i= 6;
do{
Cout
i++60;
}
While( i
Day-08
Comleted upto Tutorial 10
10-12-2022
Loops_In_C++
Love u harry 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
Can you explain this a little bit?
#include
Using namespace std;
void func(int n){
for(int i=1; i
table of 6
#include
using namespace std;
int main() {
int i = 6;
do
{
cout
Hw
//Program to run the table of 6
#include
using namespace std;
int main(){
int a = 6;
int b = 1;
do
{
cout
// 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.
I used for loop for writing the table. My concept of loops is clear. Thanks.
Challenge accepted and completed! Nice teaching, keep up the wonderful content.
Home work done :
#include
using namespace std;
int main(){
cout
challenge accepted and successfully written the code and loving the course
Just started with your lectures and they're really helpful. Nice work
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
6 Table using While Loops:
#include
using namespace std;
int main(){
int i=1;
while(i
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 )🥲
cout
pura code to likhta chomu
@@dotmashrc 😂😂😂
@@dotmashrc 😂😂😂😂😂😂😂😂
Are subhayau bhay mai anuj hu tere clg ka
@@anujjaiswal7696 hello brother
19.19 i done it thanks for this wonderful course!
# include
using namespace std;
int main(){
int i=6;
do{
cout
I learnt very much from you Thanks Sir....
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
#include
using namespace std;
int main ()
{
//using while loop
/* int i=1,n=6;
while(i
also with for loop :
int a = 6;
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
#include
using namespace std;
int main(){
int i=1;
do{
cout
Nycc
U r really helping beginners like me thank you so much do prepare such many courses
Table of 6 is:
#include
using namespace std;
int main(){
int a = 6;
int i = 1;
do{
cout
# include
using namespace std;
int main() {
int i=1;
do {
cout
Good your so intelligent
// 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
#include
using namespace std;
int main()
{
/*Table of 6*/
int i;
for(i=1;i
Challenge accepted
# include
using namespace std;
int main(){
int i=1;
int table =0;
while (i
Good job @Akash jadav
Challenge accepted sir. You have done a good job. Thanks for all the hard work.
Are You pursuing Bsc computer science.?
Thankyou so much for your classes ,i m really now motivated for coding . Massive respect for you bro🙏🙏🙏
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
@@kalpnabelwanshi9567 bhai tere pc faat jayega jaldi se jaldi bhag ja waha se
#include
using namespace std;
int main(){
int i;
cout
Learning C++ after C makes me understand well and better
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
#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 😂😂😂
i used this method for 6 table
#include
using namespace std;
int main(){
int i=6
for( i=6 ; i
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 ❤️🙂
15:52 "with great power comes great responsibility"spider man😅
Far From Home😂
😂😂😂
Challenge accepted & done bro!!
Your teaching style is best!!! Thank you so much 😃
Sir challenge accepted .Completed the challenge using all the three loops.
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
"With Great Power comes Great Responsibility"
Please make detailed course on Data Structures and Algorithm...........
Already playlist is there in this channel for data structure and algorithm
@@rajnandinigorai247 wo comment kb ki thi wo to dekho 👀
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 .
Challenge accepted and even completed...OMG I CAN'T BELIEVE MYSELF!!!😂
That Wasn't That Hard Aditi. Btw Keep It Up👍✨
Challenge accepted
Edit:Successfully written the code using all 3 loops
challenge Accepted sir ,
thank you for providing this great series with great teaching
#include
using namespace std;
int i=2;
int j=1;
int main(){
do{
cout
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