New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
Styling Checkboxes???
0 Votes
1 AnswerWhy doesn't this code work?
0 Votes
3 AnswersWhy not normal I/O
0 Votes
1 AnswerPlease help !
0 Votes
2 AnswersContinuous problem
1 Vote
1 Answerhow to output phrases?
1 Vote
2 AnswersPython question
0 Votes
1 AnswerHow do you get 2 boxes?
1 Vote
2 AnswersPlease explain.
0 Votes
2 AnswersWhen 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 Votes
4 AnswersNested list in python
0 Votes
2 AnswersHot today
Media on HTML
0 Votes
Is Sololearn better or Mimo.org?
1 Votes
Code Playground
0 Votes
xampp
0 Votes
How to solve this
1 Votes
Editor HTML
0 Votes
Java project
0 Votes