Recursive Programming Problem
Write a JAVA program that repeatedly prompts your user for...
![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 17.04.2020 20:02, savannabroyhill24
Recursive Programming Problem
Write a JAVA program that repeatedly prompts your user for a number, uses a recursive function to calculate the product of that number times three (3), and displays the product. Select a sentinel value that allows your user to quit. Do NOT use the multiplication operator (*) in your proposed solution.
User Inputs Recursive Function Returns
-2 -6
-1 -3
0 0
1 3
2 6
3 9
4 12
Hint: Think of multiplication as a series of additions.
User Inputs Performs Returns
1 3 3
2 3 + 3 6
3 3 + 3 + 3 9
4 3 + 3 + 3 + 3 12
![answer](/tpl/images/cats/otvet.png)
Answers: 3
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 18:00, abbygriffin2009
Martha is a healer, a healthcare provider, and an experienced nurse. she wants to share her daily experiences, as well as her 12 years of work knowledge, with people who may be interested in health and healing. which mode of internet communication can martha use?
Answers: 3
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 21:00, raquelle66
So im doing this school challenge and the teachers said whats the average text a student gets a day so i need to get about 20 in a day but dont know how can you guys 2163371293
Answers: 2
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 21:20, nathanfletcher
In microsoft word, when you highlight existing text you want to replace, you're in a. advanced mode. b. automatic mode. c. basic mode. d. typeover mode
Answers: 1
Do you know the correct answer?
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
Mathematics, 08.04.2021 19:40
![Konu](/tpl/images/cats/es.png)
![Konu](/tpl/images/cats/himiya.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/ekonomika.png)
![Konu](/tpl/images/cats/ekonomika.png)
![Konu](/tpl/images/cats/himiya.png)
Chemistry, 08.04.2021 19:40
![Konu](/tpl/images/cats/mat.png)
Mathematics, 08.04.2021 19:40
![Konu](/tpl/images/cats/fizika.png)
Physics, 08.04.2021 19:40