![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 29.07.2021 02:30 amichellecam2
A. Download the attached �Greetings. java� file.
b. Implement the �getGreetings� method, so that the code prompts the user to enter the first name, the last name, and year of birth, then it returns a greetings message in proper format (see the example below). The �main� method will then print it out. Here is an example dialogue with the user:
Please enter your first name: tom
Please enter your last name: cruise
Please enter your year of birth: 1962
Greetings, T. Cruise! You are about 50 years old.
Note that the greetings message need to be in the exact format as shown above (for example, use the initial of the first name and the first letter of the last name with capitalization).
c. Submit the final �Greetings. java� file (DO NOT change the file name) online.
![ansver](/tpl/images/cats/User.png)
Answers: 1
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 00:00
Ahorse is how much percent more powerful than a pony
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 00:30
The best definition of an idiom is a. a word or phrase that describes a noun b. a word or phrase describing a verb c. a phrase containing figurative language in which the word expresses a different idea from its exact meaning d. a phrase that compares two unlike objects or ideas
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 05:10
What is the output of the following program? #include using namespace std; class bclass { public: void print() const; bclass(int a = 0, int b = 0); //postcondition: x = a; y = b; private: int x; int y; }; class dclass: public bclass { public: void print() const; dclass(int a = 0, int b = 0, int c = 0); //postcondition: x = a; y = b; z = c; private: int z; }; int main() { bclass bobject(2, 3); dclass dobject(3, 5, 8); bobject.print(); cout < < endl; dobject.print(); cout < < endl; return 0 ; } void bclass: : print() const { cout < < x < < " " < < y < < endl; } bclass: : bclass(int a, int b) { x = a; y = b; } void dclass: : print() const { bclass: print(); cout < < " " < < z < < endl; } dclass: : dclass(int a, int b, int c) : bclass(a, b) { z = c; }
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 23:00
When the coolant system thermostat is closed, coolant is allowed to flow to the
Answers: 1
You know the right answer?
A. Download the attached �Greetings. java� file.
b. Implement the �getGreetings� method, so that th...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 14.09.2020 22:01
![question](/tpl/images/cats/mat.png)
Mathematics, 14.09.2020 22:01
![question](/tpl/images/cats/mat.png)
Mathematics, 14.09.2020 22:01
![question](/tpl/images/cats/mat.png)
Mathematics, 14.09.2020 22:01
![question](/tpl/images/cats/en.png)
English, 14.09.2020 22:01
![question](/tpl/images/cats/mat.png)
Mathematics, 14.09.2020 23:01
![question](/tpl/images/cats/mat.png)
Mathematics, 14.09.2020 23:01
![question](/tpl/images/cats/mat.png)
Mathematics, 14.09.2020 23:01
![question](/tpl/images/cats/mat.png)
Mathematics, 14.09.2020 23:01
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 14.09.2020 23:01
![question](/tpl/images/cats/himiya.png)
Chemistry, 14.09.2020 23:01
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 14.09.2020 23:01
![question](/tpl/images/cats/mat.png)
Mathematics, 14.09.2020 23:01
![question](/tpl/images/cats/istoriya.png)
History, 14.09.2020 23:01
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 14.09.2020 23:01
![question](/tpl/images/cats/en.png)
English, 14.09.2020 23:01
![question](/tpl/images/cats/mat.png)
Mathematics, 14.09.2020 23:01
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 14.09.2020 23:01
![question](/tpl/images/cats/mat.png)
Mathematics, 14.09.2020 23:01
![question](/tpl/images/cats/mat.png)
Mathematics, 14.09.2020 23:01