![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 05.11.2020 18:30 suji89
Consider you have already created a validateString(String str) method that validates a String to ensure it contains exactly 4 characters. Create code that calls this method, sending user input as an argument (actual parameter). The user should be continuously prompted to enter a different string and informed of an error if the method returns false.
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 21.06.2019 22:40
State the parts of a variable declaration?
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 22:30
Write a full class definition for a class named player , and containing the following members: a data member name of type string .a data member score of type int .a member function called setname that accepts a parameter and assigns it to name . the function returns no value.a member function called setscore that accepts a parameter and assigns it to score . the function returns no value.a member function called getname that accepts no parameters and returns the value of name .a member function called getscore that accepts no parameters and returns the value of score .this is what i have, aparently this is wrong: class player{private: string name; int score; public: void player: : setname (string n){name =n; }void player: : setscore (int s){score = s; }string player: : getname (){return name; }int player: : getscore (){return score; }};
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 00:30
Quick pl which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 1
![question](/tpl/images/cats/informatica.png)
You know the right answer?
Consider you have already created a validateString(String str) method that validates a String to ens...
Questions
![question](/tpl/images/cats/en.png)
English, 03.04.2020 02:47
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 03.04.2020 02:47
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 03.04.2020 02:47
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 03.04.2020 02:47
![question](/tpl/images/cats/mat.png)
Mathematics, 03.04.2020 02:47
![question](/tpl/images/cats/mat.png)
Mathematics, 03.04.2020 02:47
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 03.04.2020 02:47
![question](/tpl/images/cats/en.png)
English, 03.04.2020 02:47
![question](/tpl/images/cats/istoriya.png)
History, 03.04.2020 02:47
![question](/tpl/images/cats/en.png)
English, 03.04.2020 02:47
![question](/tpl/images/cats/en.png)
English, 03.04.2020 02:47
![question](/tpl/images/cats/mat.png)
Mathematics, 03.04.2020 02:47
![question](/tpl/images/cats/istoriya.png)
History, 03.04.2020 02:47
![question](/tpl/images/cats/mkx.png)
Arts, 03.04.2020 02:47