Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use java Tasks Your goal is to create a program similar to JavaLibs. Write a story where certain parts of the resulting story text are
Use java
Tasks Your goal is to create a program similar to JavaLibs. Write a story where certain parts of the resulting story text are modified by the user's input. Prompt the user for various inputs. Since you want to interact with a none programmer, you will need to use the JOptionPane to collect the users answer and display the results. When you output your story, make sure your all your text is visible at the same time. It's not ok for text to be too long for your computer screen or output window. Your story will need to be spread across several lines instead of being printed in one giant line of output. This helps keep your output clean and your program more user friendly It's ok for your program to crash if the user inputs inappropriate data. In other words, It's ok if your program crashes because you've expected the user to input a number, when they've instead input a string. We'll cover exception handling later in the course. Your program must also do the following: Accept at least 1 input to be parsed as a string Accept at least 1 input, to be parsed as an int Accept at least 1 input, to be parsed as a double Use at least 1 input in a question for the user Do math with at least 1 int input Do math with at least 1 double input Accept at least 10 total inputs ( (+ It's ok for this problem set to write your entire program within the main methodStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started