Question: Complete # 1 8 Stock Transaction Program on page 1 2 6 . Write one program ( one class ) with the main method. Add

Complete #18 Stock Transaction Program on page 126. Write one program (one class) with the main method.
Add an if-else statement to the Stock Transaction program. If the calculated number is negative, display the message "Joe lost ....". If the calculated number is positive, display the message "Joe gained ...".

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!