Question: Question 4 (3 points) Ir you had to write an application to prompt the user for text until the user types quit', then output the

 Question 4 (3 points) Ir you had to write an application

Question 4 (3 points) Ir you had to write an application to prompt the user for text until the user types "quit', then output the total number of characters typed, excluding the characters in the work "quit", but you wanted to make sure that the loop executed at least once what type of loop would you use? Also Explain your answer Sirs: Question 5 (4 points) Write an algorithm that will count the number of negative values in a given array and output that count. NOTE Write an algorithm ONLY! Do not write any Java code! You may use things like "while" or "do-while" or " (to denote an array), in order to get your point across, but do not write class headers, method headers, curly braces, import statements, ete. You're thinking about the steps to take to solve the problems, not the steps to take to write the code You don't have to write pseudo code or flow chart, just express in plain ol English the steps to take to solve this

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!