Обсуждения
Tic-Tac-Toe Java Two Players
0 голосов
1 ответIssue generating ASCII characters
0 голосов
2 ответовi am getting error anyone can help
0 голосов
5 ответовPlease explain.
0 голосов
2 ответовWhat is the code for this?
1 голос
1 ответBool function problem
1 голос
1 ответWhen 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 голосов
4 ответовWhy this code has no output?
0 голосов
1 ответWhen I enter two numbers the sum comes.. 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 голосов
2 ответовWhy not working
-4 голосов
4 ответовАктуальное сегодня
Can i code here? Or just learn?
2 Votes
Why Lazy?
1 Votes
Quiz App: Step 3, Restart Button
0 Votes
Catch the ball
0 Votes
Running a python code
1 Votes
Web development
0 Votes
PHP
0 Votes
How to do a responsive page?
1 Votes