Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Here is what I want to do I just dont know how to do it.
Create a program that will accept a person's first name as an argument passed when the program is invoked. It will use the name passed to personalize the three questions in the file created. The questions MUST be read from the file. The personalized questions are to be asked to the user where 1 question uses the console and the other two questions use a dialog box (JOptionPane). Use the answer to the questions to tell the user how much their investment will be worth when the time period is over.
Here is the text (questions) from the file
How much are you investing today?
How long will you be investing for?
What is the interest rate that your investment will be earning?
If someone could show me how to do this that would be fantastic.
0 · ·