Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a java program for the following in simple and basic methods: This project is intended for you to use programming concepts you learned in

write a java program for the following in simple and basic methods:
image text in transcribed
This project is intended for you to use programming concepts you learned in CSCl111 (decision statements, loop statements) and apply them in a simple Java program (using some of the classes covered in lecture and lab). In addition, you will submit the project through Blackboard to make sure it is clear how to do that. We will look at your coding style, documentation (comments) and, of course, that the project works. Check out the grading scheme in the Projects folder in Blackboard. Ignore Javadoc for this project. Program Requirements: Write a Java program that will 1. Ask the user to type in a sentence, using a JOptionPane.showinputDialog(). 2. The program will examine each letter in the string and count how many time the upper-case letter ' E ' appears, and how many times the lower-case letter 'e' appears. The key here is to use the charAt method in class String. 3. Using a JOptionPane.showMessageDialog(), tell the user how many upper and lower case e's were in the string. 4. Repeat this process until the user types the word "Stop". (Check out the method equalslgnoreCase in class String to cover all upper/lower case possibilities of the word "STOP"). Program Submission: - The name of your file must be Projecto. java with upper/lower case exact. - Your program (the java file, not the class file) should be submitted through Blackboard by uploading the file. - In the "Comments" field of the assignment put your name and lab section. - Note that Blackboard lets you submit the assignment only once. If you make a mistake, you will have to ask Dr. Lord to clear the project, and you may lose time. - The program is due by midnight on the date indicated at the top of this handout, and will not be accepted after the cutoff date. The date of submission to Bb is the official date for your project

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OpenStack Trove

Authors: Amrith Kumar, Douglas Shelley

1st Edition

1484212215, 9781484212219

More Books

Students also viewed these Databases questions

Question

What are some ways that diazotrophs protect nitrogenase from O2?

Answered: 1 week ago

Question

Question Can a Keogh plan fund be reached by the owners creditors?

Answered: 1 week ago

Question

Question What happens to my plan if I die?

Answered: 1 week ago