Q&A Discussões
Why not normal I/O
0 Voto
1 RespostaPlease help !
0 Voto
2 RespostasContinuous problem
1 Voto
1 RespostaPython question
0 Voto
1 RespostaPlease explain.
0 Voto
2 RespostasNested list in python
0 Voto
2 RespostasWhen 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 Voto
4 RespostasDynamic DataType
1 Voto
1 RespostaCode help
0 Voto
1 RespostaQuente hoje
Started learning python
0 Votes
How can one build an Ai app
1 Votes
Websites for frontend developers
1 Votes
Discrete mathematics (python)
0 Votes
I need help in programing
0 Votes
C++, c# , graphical interface
1 Votes