bhaiyo suno jab hum printf ("do you want to continue/exit ? y/n"); type karte hain. hame bas usse just pehele. fflush(stdin); type karna hain. phir program 100 percent work karegaa
You all probably dont care at all but does anyone know of a trick to get back into an instagram account..? I was dumb lost the account password. I appreciate any help you can offer me
Thanks a lottt Sirr...It is really really very helpful to me..Your tutorials are really very beautifully explained..I have understood everything..Thank you Vikas Sir..New Subscriber..🙋♀️
however there will be multiple integers in the input. You have to write a computer program to read each integer and print Even if the integer is divisible by 2, else print Odd. To help further, the number of integers (T) to read will be the first input to the computer program.
@mohd amir Jo aapne program kiya hain wo kaha pain store kiya hain wo chck kar OR 1.open turbo c 2.click on file 3.change dir 4.then click on BGI 5.click on chdir tab 6.then click on OK compile and Run Enjoy
THNX SIR A LOT..but m getting a problm.my program is not working as a loop..aftr pressing 'n' it should again go to label(start) means it shud ask another no to check then i need to gv another value..then it shud reply odd or even..ths shud be the program..m i r8 sir?.....but it is not working like ths.aftr pressng n ,m getting outside frm the output screen...i have used conio,getch..all...why the problem is coming?
sir, you give 1 example on each method.which is sufficient but sometimes it doesn't understood by me.exampel, in switch. sir i want you to make more example and give us question to make programmes in each method .thank you sir
Sir can you help me plz this prgrm is not work in my turbo c prblm is i enter any key after ask "do you want to exit" that will exit outmyltcly .its not work with loop ..plzz help me what i do
the program doesnot run you have write a whole program in white board without rubbing previous part of program; so that you can see your mistake in program
sir, thanks for giving for imformation about goto statment but when i code the goto program is turbo c they gives error to "start|" word so the program is not working . plese give solution
Actually I used same program . But i Think the formula to find even or Odd is wrong. Bcz Whenever i insert a no. there. It shows only odd (Means the else value). and it is also not taking the ans variable in input. WHy The Program is this. #include #include main() { int a; char ans; start: printf("Enter a Value "); scanf("%d",&a); if(a/2==0) { printf("Even "); } else { printf("Odd "); } printf("Do you want to exit "); scanf("%c",&ans); if(ans=='N' || ans=='n') { goto start; } getch(); }
Sir the program u explained in this tutorial does not give the output u told in the tutorial meaning after Getting do u want to exit on the output screen if i type n then i don't get the message enter a number instead it is coming out of output screen and displaying the program written Thank you
sir apke program me ek line mising hai..fflush(stdin); scanf statement ke pehle nai likha h..nahi to program execute nai ho rha h....plz explain kijiye kyu.fflush use kiya h
#include #include main() { int age; char a; start: printf("Enter Your Age:"); scanf("%d",&age); if(age>=60) { printf("You Are Senior Cityzen "); } else { printf("You Are Not Senior Cityzen "); } printf("Do You Want To Continue (y/n):"); scanf("%c",&a); if(a=='y'||a=='Y') { goto start; } getch(); } ye run nahi kar raha hain .............kaha problem hain samaz main nahi araha hain.
sir please go or ruby and swift programming language par video bnaeye in Hindi me or step by step or eshko computer likh kar or nots eshka video me hi dedigiye ga please sir
sir aap jo symbol likhte hai unko samjhne me presani hoti hai...pta nhi lag pata ki aap colon likh rhe hai ya semi colon.......plz is taraf thoda dhyan dijiyega
Sir with due respect: In turboc I have typed your program exactly in the same way you have written but I have to use %s in place of %c to get the output. Please correct me.. Thanks!
sir check it out, this code is not working properly thnx #include #include main() { int no ; char ans ; start: printf(" enter a no "); scanf("%d",&no); if( no%2==0 ) { printf(" its even sir "); } else { printf(" its odd sir "); } printf(" do u want to exit "); scanf(" %c " ,&ans ); if( ans=='NO'|| ans=='no'|| ans=='No'|| ans=='nO' ) { goto start; } getch(); return 0; }
bhaiyo suno jab hum printf ("do you want to continue/exit ? y/n");
type karte hain. hame bas usse just pehele.
fflush(stdin);
type karna hain. phir program 100 percent work karegaa
Kiu sir
great :D
its really work thanks but I don't understand about the use of fflush(stdin);
You all probably dont care at all but does anyone know of a trick to get back into an instagram account..?
I was dumb lost the account password. I appreciate any help you can offer me
best c++ teacher ever ...learnt alot from you...thank you sir for always being there for us...hats off!!! :)
Your tutorials are just awesome! I amn't fluent in Hindi but can understand your videos easily--From Bangladesh
@Mohd Aamir, Okay we'll make tutorial on command line this week :)
@Mohd Aamir, Make sure you have included graphic driver properly into your code.
thanks you man.
best explainer.just love it.....and best part was when you write the program in the wight Bord.
can you do your videos in english
hello sir,
I'm new in programming, and I learn a lot from you,so thanks a lot sir.
sir can you make a tutorial on OS.
Thanks a lottt Sirr...It is really really very helpful to me..Your tutorials are really very beautifully explained..I have understood everything..Thank you Vikas Sir..New Subscriber..🙋♀️
thankyou so much sir.... you are so amazing... and aap jis tarah SE samjate ho Mujhe kafi ache SE. ...samajh me aata so that thanx to once again....
Dhanyawad Sir❤
Thank you i've got the many concepts of programs by watching your tutorials
+Fareed Mahar, You're welcome dear. Keep learnign :)
I JUST WANT TO TELL YOU . THANK YOU SO MUCH FOR MAKING THESE ALL VIDEOS..!!!
sir AAP bhut acche SE smjhate h
Thank you dear. Keep learning :)
Very nice bro and thanks for this informative video
ur teaching style is awesome & very simple to understand.... so please upload video on python.....
@easytuts4you.com At last during scanf you used %c but you used variable ans so you must type %s bcoz it is string. otherwise program wouldn't work.
absolutely right brother
Thanks brother it's realy help me.
Thank you sir bahot achha bataya aapne poora dought chala gaya . Ek example forward ka bhi bata dijie please sir.😊
Far better than my college and tutor✌️️ thnkew sir! May god bless u😊
however there will be multiple integers in the input. You have to write a computer program to read each integer and print Even if the integer is divisible by 2, else print Odd. To help further, the number of integers (T) to read will be the first input to the computer program.
+anthony lakra, Can you please explain a little more what you want to say exactly ?
@mohd amir
Jo aapne program kiya hain wo kaha pain store kiya hain wo chck kar
OR
1.open turbo c
2.click on file
3.change dir
4.then click on BGI
5.click on chdir tab
6.then click on OK
compile and Run
Enjoy
sir can we use goto statment in different functions . i mean to move programe from different function to main function
THNX SIR A LOT..but m getting a problm.my program is not working as a loop..aftr pressing 'n' it should again go to label(start) means it shud ask another no to check then i need to gv another value..then it shud reply odd or even..ths shud be the program..m i r8 sir?.....but it is not working like ths.aftr pressng n ,m getting outside frm the output screen...i have used conio,getch..all...why the problem is coming?
use
fflush(stdin);
before scanf statement
hey bro can u explain ..why ..fflush is used in this program.?what is the work of fflush?tnx
Hy bro sm prblm can you tl me ...if u r prblm was shtout
thank you very much for easy learning
Is there any temple near your home ¿¿¿
Nope.
great work
sir if i use goto statement like
{
clrscr();
cout
Nice Video sir
Thank you for this
Thanks a lot sir teach very well👌👌
What if multiple labels with the same name exists? How will the priority be decided?
Thanks sir
Sir your process is good
can you tell me what we have to do if we want to find a 3 larger number using condition operator.?
thank u for easy learning :)
+Sanchit Gupta, You're welcome. Keep learnign :)
Thank you sir 🙏
@10:38 Sir, When user inputs N or n from terminal, 'getch();' would be still executed, wouldn't it?
nice explanation
Thanx alot sir .... u are gReAT!!!!!
You're welcome brother :)
hmmm really sir is great,,,,,,,,,,
oh sir u helped me to understand very clearly.i'm very thankful to u.
+areeb shaik, You're welcome dear. Keep learning :)
sir, you give 1 example on each method.which is sufficient but sometimes it doesn't understood by me.exampel, in switch. sir i want you to make more example and give us question to make programmes in each method
.thank you sir
Thanks guru ji
Thank u for ur help sir
Sir if condition me goto statement use hoga
Thanks sir....
try to write a program in a single page. other wise very nice.
nyc video...
Thank you sir
thankyou sir❤
very amazing soft skil
thank u very much sir
+MOHIT KUMAR, You're welcome dear :)
thank u so much sir .
Sir when do use backward and when douse forward
Can we use more than 1 go-to statement in a program
Sir can you help me plz this prgrm is not work in my turbo c prblm is i enter any key after ask "do you want to exit" that will exit outmyltcly .its not work with loop ..plzz help me what i do
Sir q basic ka bhi video bana dijiye
Vry nyc sir g
best guru ji
Sir plz plz suggest me which video's should I watch for my class 12 board examination .
Plz sir.
This is for university people
Sir after label, symbol used is not semicolon
the program doesnot run
you have write a whole program in white board without rubbing previous part of program; so that you can see your mistake in program
very good
Great sir g
Aap C program aur java k ilawa aur sare program kabhi video banaye na sir plz
C Programming Tutorials (HINDI)
bit.ly/1NAv4OY
C++ Programming Tutorials (HINDI)
bit.ly/1yVSpSN
Java Programming Tutorial (HINDI)
bit.ly/14PIjK8
Download App:
bit.ly/easytuts4youapp
Data Structures Tutorials (HINDI)
bit.ly/1KkrYKJ
Graphic in C,C++ (HINDI)
bit.ly/1clUjY8
Program on Demands:
bit.ly/299cZJN
sir,
thanks for giving for imformation about goto statment
but when i code the goto program is turbo c they gives error to "start|" word
so the program is not working .
plese give solution
Actually I used same program . But i Think the formula to find even or Odd is wrong. Bcz Whenever i insert a no. there. It shows only odd (Means the else value). and it is also not taking the ans variable in input. WHy
The Program is this.
#include
#include
main()
{
int a;
char ans;
start:
printf("Enter a Value
");
scanf("%d",&a);
if(a/2==0)
{
printf("Even
");
}
else
{
printf("Odd
");
}
printf("Do you want to exit
");
scanf("%c",&ans);
if(ans=='N' || ans=='n')
{
goto start;
}
getch();
}
if(a%2==0)
u have written (ifa/2==0)
Thanks . okk
Sir the program u explained in this tutorial does not give the output u told in the tutorial meaning after
Getting do u want to exit on the output screen if i type n then i don't get the message enter a number instead it is coming out of output screen and displaying the program written
Thank you
+Bilal mohammed Dude use %s in place of %c. You will get the output.
But write the remaining code exactly the same.
Please sir preapair video tutorial about "break,continue,switch statement.
+Wazaahat Tyagi, Switch Case Statement :
th-cam.com/video/inrnPN3iLX8/w-d-xo.html
Break & Continue Statement :
th-cam.com/video/5NBi7o032KE/w-d-xo.html
Can u please execute same programme on console
sir apke program me ek line mising hai..fflush(stdin); scanf statement ke pehle nai likha h..nahi to program execute nai ho rha h....plz explain kijiye kyu.fflush use kiya h
write %s instead of %c and it will properly
but why?????
Sir sry bt this time i cant understsnd what are u saying and what is go to statement!! 😳
Same bro after 3 years
It may used under loops like
Break, continue
Programme is not running after pressing N or n.
Please explain sir!
sir board kay elawa ap practically tor pay bhi to samjhay program write ker kay PC pay//////
can you make a video on qbasic
I want to learn QBASIC. So what can I do ?
sir its not going through goto statement its simply exiting the program while pressing any key
listen everyone ..what he is using is %c in ans but it should be %s because it is string ..othervise program wont work
ans is the name of the character you can give anyname;
Thank you
#include
#include
main()
{
int age;
char a;
start:
printf("Enter Your Age:");
scanf("%d",&age);
if(age>=60)
{
printf("You Are Senior Cityzen
");
}
else
{
printf("You Are Not Senior Cityzen
");
}
printf("Do You Want To Continue (y/n):");
scanf("%c",&a);
if(a=='y'||a=='Y')
{
goto start;
}
getch();
}
ye run nahi kar raha hain .............kaha problem hain samaz main nahi araha hain.
Thankyou sir
sir! you have not mentioned yes/no in printf,,,how will user understand that they have to press y/n instead of yes/no??
+Balwant Sharma, Yes but I've explained verbally that y is for Yes and n for no. You can also customize the message according to your convenience.
Sir please c++ me b jump statement ka b program Banana
Thnk u
About 2 D array and 1 D array
Goto statement ka us kar ke leap year ka program kase bana ye ge
main()
{
int a;
char b;
start:
printf("Enter any number : ");
scanf("%d",&a);
if (a%2 == 0)
{
printf("Even");
}
else
{
printf("Odd");
}
printf("Are you sure want to continue : ");
scanf(" %c",&b);
if (b == 'n'|| b == 'N')
{
goto start;
}
}
Can you guide me above program is correct, but output not coming with Even/Odd. pl suggest
Good
sir please go or ruby and swift programming language par video bnaeye in Hindi me or step by step or eshko computer likh kar or nots eshka video me hi dedigiye ga please sir
sir aap jo symbol likhte hai unko samjhne me presani hoti hai...pta nhi lag pata ki aap colon likh rhe hai ya semi colon.......plz is taraf thoda dhyan dijiyega
I'm understand easy
Sir jo aap bord pe write karte hai clear nhi dikh rha hai
Kore bhi chij achhe bataye ki under stood ho sake
Sir with due respect:
In turboc I have typed your program exactly in the same way you have written
but I have to use %s in place of %c to get the output.
Please correct me..
Thanks!
+jitendra sikarwar program also working with scanf(" %s",&ans); // that is after giving a space before the %s.
Someone please explain this heck....
use this
scanf(" %c",&ch);
means give space before %c
ie...." %c" not "%c"
nyc
hello sir...
after the end of topic you will give some question or programs.
by this we can solve other type of programs easily.
+gurudeep singh talan, Now a days we're working on C++,Java,DS, after completing them we'll think about it.
Sir definition me english use kar sakte hai
sir if statement se 1 to 100 series btaiye plz
Bikas sir namashtey
Thanks sirrr
You're welcome brother :)
computer orgnags ki video bna do sir
sir check it out, this code is not working properly
thnx
#include
#include
main()
{
int no ;
char ans ;
start:
printf(" enter a no ");
scanf("%d",&no);
if( no%2==0 )
{
printf(" its even sir ");
}
else
{
printf(" its odd sir ");
}
printf("
do u want to exit ");
scanf(" %c " ,&ans );
if( ans=='NO'|| ans=='no'|| ans=='No'|| ans=='nO' )
{
goto start;
}
getch();
return 0;
}