Lec 33: Coding Exercise for Beginners with Solution | do-while loop in C++

preview_player
Показать описание

In this lecture, We will discuss coding problems with Solutions on do-while Loop in C++

*******************************************

Connect & Contact Me:

*********************************************

More Playlists:

#c++tutorials #dowhileloop #jennyslectures #loops #programmingtutorial #codingexercise
Рекомендации по теме
Комментарии
Автор

Please upload further lectures for this series 🥺

dvs
Автор

Thank you mam your are helping so many poor students who can't invest to some courses have a very nice days for you in future waiting for your next vedio.. i am from 🇮🇳

enjoy
Автор

Ma'am plzz🙏🙏 complete this playlist as soon as possible...
Ma'am we are waiting for the next lecture of c++..
No one can explain like you..
Thank you so much for such an amazing lecture..🙏🙏
Plzz upload next lecture soon🙏🙏🥺

amairapandey
Автор

Ma'am we want JAVA tutorial...
I have also completed your C tutorial nd I learnt a lot..I love how you simply make all concepts so clear.. Ma'am eagerly want please make java tutorial..We also love that nd get benifitted🥺❤️

apurvashreshth
Автор

Always waiting for the next lecture mam.we are very grateful to have teacher's like u.These lectures helped alot.

aspirenation
Автор

The way you explain concepts is really phenomenal. You are one of the best teachers on Youtube. I am anticipating your next lectures. Thanks

amosfaniya
Автор

areyy madam plzz yarr😄 aapthoda videos jaldi applod kijiyee

AdithyaReddySama
Автор

in my you tube journey as a student you are best teacher of computer science

amotivationworld
Автор

Mam I cleared my b tech by listening to ur classes now I'm employee in top MNC my hand salary 1.7L per month..
But I'm still here to see ur beautiful face 😍 love u mam❤️

srinathsrinath
Автор

Mam, Thank you very much for your amazing classes. I am Bangladeshi❤️🇧🇩. I am learning C programming from your C program playlist. Almost C completed.
After completing c I will start c++.
❤ From Bangladesh mam. Pray for me, mam.

bhiks
Автор

I'm from Ethiopia 🇪🇹 first of all thank you for you give us this more useful information about c++ I'm University student
It helps 💯💯💯

msza
Автор

mam when next lecture of this course is coming? i am still waiting.

abhishekprajapati
Автор

in middle of your lecture :" i" slow down the speed of the video just to feel *the movement, ,,&ur superb also superb in the way of easy understanding of any concept till now.

sandeepsandy
Автор

Love you mam and your video and your teaching style also

priyanshusingh
Автор

Mam maine Q1 ka ek aur solution nikala, by using if and break statement

#include <iostream>
using namespace std;
int main(){
int n=0, sum=0;
do{
cout<<"Enter a number:";
cin>>n;
if (n<0){
break;
}
sum=sum+n;
}while(n>0);
cout<<"The sum is:"<<sum;
}

Q2, I have solved it by switch case

#include <iostream>
using namespace std;
int main(){
char choice;

int a, b;

do{

cout<<"1. Addition"<<endl;
cout<<"2. Subtraction"<<endl;
cout<<"3. Multiplication"<<endl;
cout<<"4. Divison"<<endl;
cout<<"Q. Quit"<<endl;

cout<<"Enter your choice:";
cin>>choice;

switch(choice){
case '1':
cout<<"You chose 1....addition"<<endl;
cout<<"Enter two numbers seperated by a space:";
cin>>a;
cin>>b;
cout<<"Addition is:"<<a+b<<endl<<endl;
break;

case '2':
cout<<"You chose 2....subtraction"<<endl;
cout<<"Enter two numbers seperated by a space:";
cin>>a;
cin>>b;
cout<<"Subtraction is:"<<a-b<<endl<<endl;
break;

case '3':
cout<<"You chose 3....multiplication"<<endl;
cout<<"Enter two numbers seperated by a space:";
cin>>a;
cin>>b;
cout<<"Multiplication is:"<<a*b<<endl<<endl;
break;

case '4':
cout<<"You chose 4....division"<<endl;
cout<<"Enter two numbers seperated by a space:";
cin>>a;
cin>>b;
cout<<"Divison is:"<<a/b<<endl<<endl;
break;

case 'Q':
cout<<"Good Bye..."<<endl;
break;

case 'q':
cout<<"Good Bye..."<<endl;
break;

default:
cout<<"Wrong choice....Try again!!"<<endl<<endl;
}
}while(choice != 'Q' && choice!= 'q');
return 0;
}

PRIYANSHUCHAKRABORTY-yvmq
Автор

Mam when will you continue this series 😢 please continue 🙏 as early as possible mam

paavaneep
Автор

Ma’am please upload next lectures fast

hellochildfine
Автор

Your teaching is super and. Your Voice super mam i watched c language

kancharlasrikanth
Автор

ma, am, please upload full playlist of this series

amansgalaxy
Автор

Mam please continue this series, We are waiting for all advance applications in c++ like class templates, STL and many more details about oops

tuhinghosh