Question: Help please. Classwork: 1. Use for loops to write an application that finds the smallest of several integers. Assume that the first value read specifies

Help please. Classwork: 1. Use for loops to write an application thatHelp please.

Classwork: 1. Use for loops to write an application that finds the smallest of several integers. Assume that the first value read specifies the number of values to input from the user. Input from user: 5 (5 integers will be entered) 3 4 9 8 2. Output: "2 is the smallest number" 2. Use a for loop to print the integers of n until find the largest integer n such that n^3 is less than 12,000 . Hint: use a for loop and if statement inside the loop, and break when the condition is true . Refer to WhileBreak.java 3. Triangles: (check/study on this first - nestedForLoopExamples.docx) in Lab #1 triangles.pdf 4. (optional) Modify the compound-interest Interest.java in Unit4 PPT lecture (slide #16), to repeat its steps for interest rates of 5%, 6%, 7%, 8%, 9% and 10%. Use an extra for loop (as the outer for loop) to vary the interest rate and the get output format like this: output.JPG

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!