Dyskusje Q&A
Python question
0 głosów
1 OdpowiedźPlease explain.
0 głosów
2 odpowiedziNested list in python
0 głosów
2 odpowiedziWhen 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 głosów
4 odpowiedziDynamic DataType
1 Głos
1 OdpowiedźCode help
0 głosów
1 OdpowiedźYou shall write a program that reads, from standard input, an arbitrary number of case-insensitive card descriptions, the totality of which shall be considered a hand. When standard input is exhausted, the program shall print one line to standard output describing the value of the hand. The program shall generate no other output.
0 głosów
3 odpowiedziHelp me with code please
0 głosów
1 OdpowiedźPopularne dzisiaj
Data Analysis Course
1 Votes
Time up code for data revision
0 Votes
Web vs python
0 Votes
Is there LUA?
0 Votes