Using Java create a program that displays rectangle, triangle and circle by promoting a user to key in 1, 2 or 3 . | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Using Java create a program that displays rectangle, triangle and circle by promoting a user to key in 1, 2 or 3 .

To make it a little bit challenging ....let the program also prompt the user to enter their desired dimension. For example when the user keys in 1 , the program should ask for the desired legth and width then the shape is displayed

11th Aug 2020, 6:48 AM
Sharon Nzaya
Sharon Nzaya - avatar
2 Answers
0
You can post challenges here or in your feed ,this thread is meant for programming related Q&A only https://www.sololearn.com/Discuss/1270852/?ref=app
11th Aug 2020, 7:05 AM
Abhay
Abhay - avatar
0
Did anyone get the answer to this question? @sharon nzaya.
9th Nov 2021, 7:03 AM
Stacy Njehia
Stacy Njehia - avatar