📚 Learn how to solve problems and build projects with these Free E-Books ⬇️ C++ Lambdas e-book - free download here: bit.ly/freeCppE-Book Entire Object-Pascal step-by-step guide - free download here: bit.ly/FreeObjectPascalEbook 🚀📈💻🔥 My Practical Programming Course: www.codebeautyacademy.com/ Experience the power of practical learning, gain career-ready skills, and start building real applications! This is a step-by-step course designed to take you from beginner to expert in no time! 💰 Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10). Use it quickly, because it will be available for a limited time. #include using namespace std; void main() { //Multiplication table for (int i = 1; i
I was watching this video as normal but The ending blew up my mind of how we can solve a huge problem from a small piece of code. I really like how you explained the concept.
Such a teacher! I am really amazed by the way of explaining complicated subjects and making them so easy to understand. It is very nice to see an intelligent woman with the sense of humour. I would like to thank you so so much.
@@CodeBeauty I am beginner for programming for c++ I got advised to learn c++ and then solve 2000 questions for logic , so my question is which video of your channel should I watch first and which should I watch second , etc….
4 million is a big number to count to. it took someone 89 days to count to 1 million, 16 hours a day. it could easily take a year to count to 4 million. good stuff.
Thank you for the tutorial is very helpful. I understand c++ due to your explication that is very good. I try to mixt the last two lessons in one program. Thank you for your tutorial. All the best. #include "pch.h" #include using namespace std; int main() { cout i; cout 10); for (int j = 1; j
Hello I am trying to create this one program that's like a store but I am having trouble in line 137 were I have put a while loop that pretty much a lows a customer to edit the amount of the item he wants but I cant seem to figure out hot to end the loop because after they don't want to edit anything anymore I thought I could just change the variable so the loop becomes false and it goes to the else statement but it doesn't work, if you have time for this I would appreciated and if you dont have time i understand.(I will put the whole block of code) #include using namespace std; int main() { float cookies = 1.50, chocolate = 1.00, milk = 4.50, ruffles = 1.99, cheetos = 1.50, doritos = 2.10, eggs = 4.75, beans = 1.50, chicken = 4.99, groundbeef = 4.70, cereal = 3.50, banana = .57, apples = .60, oranges = .66, bread = 1.50, ham = 3.50, mayonnaise = 3.25, americancheese = 1.50, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, total, amount, amount1, amount2, amount3, amount4, amount5, amount6, amount7, amount8, amount9, amount10, amount11 , amount12, amount13, amount14, amount15, amount16, amount17, amount18; cout > amount; cout amount1; cout amount2; cout amount3; cout amount4; cout amount5; cout amount6; cout amount7; cout amount8; cout amount9; cout amount10; cout amount11; cout amount12; cout amount13; cout amount14; cout amount15; cout amount16; cout amount17; cout
I'm trying to do the same thing but using while loop. Right now my program is stopping up 1 * 9 = 9 And won't move on to 2 * 1. What do I need to change to get my program working? #include using namespace std; int main() { int number, multiplier; number = 0; multiplier = 0; while (number < 10) { number++; while (multiplier < 10) { cout
You got multiple problems here. Take a good hard look at what your starting values are for number and multiplier and also consider where those numbers are supposed to stop. The reason why it won't process 2 * 1 is because that cout statement is only processed within the inner loop when the multiplier is < 10 . . . but you are already past 10 and you never reset multiplier so it could loop again. Here's my version: int number, multiplier; number = 0; multiplier = 1; while (number < 10) { number++; while (multiplier
*Kada koristimo nested loop racunar prati kod , u našem slučaju dolazi do 1. for loop (uzima vrijednost i=1) , zatim ulazi u 2. for loop(uzima vrijednost j=1) , pomnoži i ispiše. Nakon toga ne izlazi iz 2. for loop nego samo povećava vrijednost j do one vrijednosti koja je zadata tj. do 10 i tek nakon toga izlazi iz 2. for loop i ponovo se vraća na 1. for loop gdje uzima vrijednost i=2 i tako do kraja.. jesam dobro shvatio? *Kojim tokom se stvari odvijaju ukoliko imamo npr. 4 for petlje (ugnijezdene) i nakon sto se 4. petlja zavrsi ,da li racunar cita kod onda od 1. petlje pa sve ponovo ili prednost ima 3. petlja jer je ona najbliza posljednjoj tj. 4. Nadam se da ste shvatili haha . LP
thanks and btw his way you can create a semi rectangular multiplication table tho: (didnt know how to sort better) int main() { system(" color b "); int i, j; for (j = 1; j
very good !🙂 please make training practical python ,php ,java script ! practical php laravel frame work & django for python to make store . thanks saldina #ROYALNIL
📚 Learn how to solve problems and build projects with these Free E-Books ⬇️
C++ Lambdas e-book - free download here: bit.ly/freeCppE-Book
Entire Object-Pascal step-by-step guide - free download here: bit.ly/FreeObjectPascalEbook
🚀📈💻🔥 My Practical Programming Course: www.codebeautyacademy.com/
Experience the power of practical learning, gain career-ready skills, and start building real applications!
This is a step-by-step course designed to take you from beginner to expert in no time!
💰 Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10).
Use it quickly, because it will be available for a limited time.
#include
using namespace std;
void main()
{
//Multiplication table
for (int i = 1; i
//correction - i *j
How can I contact you directly? I am taking a c++ class and sometimes I find myself struggling with it...
I was watching this video as normal but The ending blew up my mind of how we can solve a huge problem from a small piece of code. I really like how you explained the concept.
Such a teacher! I am really amazed by the way of explaining complicated subjects and making them so easy to understand. It is very nice to see an intelligent woman with the sense of humour. I would like to thank you so so much.
Thank you so much. now I know the flow of nested loops.
This really made me understand the nested for loop..You're Amazing Saldina😍😍
Outstanding tutorial, thanks to you nested loop is easily understandable
I love how relax you are , and how it was easy to explain it
🙏💙
@@CodeBeauty I am beginner for programming for c++ I got advised to learn c++ and then solve 2000 questions for logic , so my question is which video of your channel should I watch first and which should I watch second , etc….
Nice video, thank you for being very thorough. Much appreciated :)
Using multiplication table to explain really help
Was cool video , ty dude
You are so cool. After your video, its seems like programming is easy, if we do it calmly. Thank you! Subscribed you!
Thank you for you to complete my exercises
Useful example, nicely explained.
excellent method
Thank you saldena, your ara amazing
thanx mam it helps me a lot !!
🤗🥰🥰
Why are you using void main(), instead of int main()? I got an error on my compiler saying that it must return int. Can you explain? Thank you!
Nice 👍
Learnt some new things ❤️❤️
It help me so much very different from html . thank you
Yep, it is. I have a few HTML tutorials on my channel as well, but it is mostly C++ for now 😊
thanks, mam💕💖
Thank you mam
4 million is a big number to count to. it took someone 89 days to count to 1 million, 16 hours a day. it could easily take a year to count to 4 million. good stuff.
very nice
Will you please explain how to print the same tables in horizontal
To do Horizontal you could try this:
#include
using namespace std;
void main()
{
//Multiplication table
for (int i = 1; i
Our teacher, we made j = 11,
How did j return again = 1?
I found my commonsense!!!
How can I develop the same program that asks the user to give me only even numbers?
Hint: Use the remainder operator (any odd number when divided by 2 always returns a decimal point whereas even numbers never do).
Thank you for the tutorial is very helpful. I understand c++ due to your explication that is very good.
I try to mixt the last two lessons in one program. Thank you for your tutorial. All the best.
#include "pch.h"
#include
using namespace std;
int main()
{
cout i;
cout 10);
for (int j = 1; j
Hello I am trying to create this one program that's like a store but I am having trouble in line 137 were I have put a while loop that pretty much a lows a customer to edit the amount of the item he wants but I cant seem to figure out hot to end the loop because after they don't want to edit anything anymore I thought I could just change the variable so the loop becomes false and it goes to the else statement but it doesn't work, if you have time for this I would appreciated and if you dont have time i understand.(I will put the whole block of code)
#include
using namespace std;
int main()
{
float cookies = 1.50, chocolate = 1.00, milk = 4.50, ruffles = 1.99, cheetos = 1.50, doritos = 2.10, eggs = 4.75, beans = 1.50,
chicken = 4.99, groundbeef = 4.70, cereal = 3.50, banana = .57, apples = .60, oranges = .66, bread = 1.50, ham = 3.50,
mayonnaise = 3.25, americancheese = 1.50, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16,
c17, c18, total, amount, amount1, amount2, amount3, amount4, amount5, amount6, amount7, amount8, amount9, amount10, amount11
, amount12, amount13, amount14, amount15, amount16, amount17, amount18;
cout > amount;
cout amount1;
cout amount2;
cout amount3;
cout amount4;
cout amount5;
cout amount6;
cout amount7;
cout amount8;
cout amount9;
cout amount10;
cout amount11;
cout amount12;
cout amount13;
cout amount14;
cout amount15;
cout amount16;
cout amount17;
cout
I'm trying to do the same thing but using while loop. Right now my program is stopping up 1 * 9 = 9 And won't move on to 2 * 1. What do I need to change to get my program working?
#include
using namespace std;
int main()
{
int number, multiplier;
number = 0;
multiplier = 0;
while (number < 10)
{
number++;
while (multiplier < 10)
{
cout
You got multiple problems here. Take a good hard look at what your starting values are for number and multiplier and also consider where those numbers are supposed to stop. The reason why it won't process 2 * 1 is because that cout statement is only processed within the inner loop when the multiplier is < 10 . . . but you are already past 10 and you never reset multiplier so it could loop again.
Here's my version:
int number, multiplier;
number = 0;
multiplier = 1;
while (number < 10)
{
number++;
while (multiplier
*Kada koristimo nested loop racunar prati kod , u našem slučaju dolazi do 1. for loop (uzima vrijednost i=1) , zatim ulazi u 2. for loop(uzima vrijednost j=1) , pomnoži i ispiše. Nakon toga ne izlazi iz 2. for loop nego samo povećava vrijednost j do one vrijednosti koja je zadata tj. do 10 i tek nakon toga izlazi iz 2. for loop i ponovo se vraća na 1. for loop gdje uzima vrijednost i=2 i tako do kraja.. jesam dobro shvatio?
*Kojim tokom se stvari odvijaju ukoliko imamo npr. 4 for petlje (ugnijezdene) i nakon sto se 4. petlja zavrsi ,da li racunar cita kod onda od 1. petlje pa sve ponovo ili prednost ima 3. petlja jer je ona najbliza posljednjoj tj. 4.
Nadam se da ste shvatili haha . LP
for (int i = 1; i
@@CodeBeauty Very good example, nested loops mastered :D
cool accent. where do you come from code beauty?
thanks and btw his way you can create a semi rectangular multiplication table tho: (didnt know how to sort better)
int main()
{
system(" color b ");
int i, j;
for (j = 1; j
very good !🙂
please make training practical python ,php ,java script !
practical php laravel frame work & django for python to make store .
thanks saldina
#ROYALNIL
PART 2 of block of code
char con, mod, change, lad, op;
cout con;
if (con == 'n')
{
cout mod;
while (mod == 'y')
{
cout
in the second loop it should be 10 only..you made it 2000
the complete code is here
#include "pch.h"
#include
using namespace std;
int main()
{
cout
Comment for Algor