Discussions Q&R
Why not normal I/O
0 Vote
1 RéponsePlease help !
0 Vote
2 RéponsesContinuous problem
1 Vote
1 Réponsehow to output phrases?
1 Vote
2 RéponsesPython question
0 Vote
1 RéponsePlease explain.
0 Vote
2 RéponsesNested list in python
0 Vote
2 RéponsesWhen I enter two numbers the sum is displayed.. but when I input character as yes not y... Then it goes into an infinite loop... can anyone explain why?
int a,b;
char ch;
do
{
cout<<"Enter two numbers: ";
cin>>a>>b;
cout<<"The sum is "<<a+b
<<"\nDo you want to try again (y/n): ";
cin>>ch;
}while(ch=='Y'||ch=='y');
0 Vote
4 RéponsesDynamic DataType
1 Vote
1 RéponseAujourd'hui en vedette
Using Python on VScode
2 Votes
Python Developer
0 Votes
Wayss
0 Votes
fully dynamic arrays
1 Votes
Guys who tell me
0 Votes
Hearts
0 Votes
Question
0 Votes