Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Java 2 screenshot of the output required Put some comment Do not do the question 4 This is the mailing list text file of the
Java 2
..Il AT&T 12:28 AM Back Complete and Submit Lab 2C Detail Submission Grade Complete and Submit Lab 2C Due: Mar 1, 2019 at 11:59 PM In class you learned how to read text from a file using the Scanner class and write text to a file using the Formatter class. This lab allows you to apply the skills you learned about files and apply them to Strings and characters HCC recently opened a bee hive on campus (Really! Read about it here Now imagine that the college started to market and sell honey under the brand HCC Honey Inc. (Not really...you have to imagine it.) You are the newest employee of the college working with this fictitious brand. On your first day of work, an old USB drive was given to you by the sales department. The USB contains a mailing list text file with numerous email addresses You've been asked to perform some processing on each email address (each of which appears on a separate line) If no @ symbol appears in the address, you should displav the following to standard Dashboard Calendar To Do Notifications Inbox ll AT&T 12:28 AM KBack Complete and Submit Lab 2c on each e Detail Submission Grade a separate line) . If no symbol appears in the address, you should display the following to standard error o the email address and the words "Email address unreadable" should display o e.g. badaddressAtgmail.com - Email address unreadable . If the @symbol appears the address will be considered valid, and you should display the following to standard output o the email address in lowercase letters with no additional spaces o the length of the address o the number of characters before and after the "@" symbol (after removing any leading white space) o e.g - mquinn@howa Length: 19 . Characters before @: 6 . Characters after @: 12 For both scenarios there should not any leading or trailing white space . You must also write any "valid" addresses Dashboard Calendar To Do Notifications Inbox ll AT&T 12:28 AM Back Complete and Submit Lab 2C For bo leadin Detail Submission Grade You must also write any "valid" addresses containing @howardcc.edu to a file named howardBeeMailing.txt. These addresses must be all lowercase with one exception. Professor Milburn is the chef in charge of the bees. If his email address is found, dmilburn@howardcc.edu, his address must print in all uppercase letters Additional requirements 1. A Javadoc comment must appear at the top of the source code containing: Your name, course number and section (001, 002,... for daytime, 050, 051,.. for evening), and a brief description of what the program does 2. Consistent indentation must be used to make the code easy to read 3. Your submission file must be named Lab2C.java and zipped in a file named Lab2C.zip. The zipped file should be uploaded through CANVAS. I will not accept email attachments 4. In the Text entry portion of the submission, please also include the following information 1. How many hours it took you to complete Dashboard Calendar To Do Notifications Inbox ll AT&T 12:29 AM Back Complete and Submit Lab 2C Detail Submission Grade You must al containing @howardcc.edu to a file named howardBeeMailing.txt. These addresses must be all lowercase with one exception. Professor Milburn is the chef in charge of the bees. If his email address is found, dmilburn@howardcc.edu, his address must print in all uppercase letters Additional requirements 1. A Javadoc comment must appear at the top of the source code containing: Your name, course number and section (001, 002,.. for daytime, 050, 051,... for evening), and a brief description of what the program does 2. Consistent indentation must be used to make the code easy to read 3. Your submission file must be named Lab2C.java and zipped in a file named Lab2C.zip. The zipped file should be uploaded through CANVAS. I will not accept email attachments 4. In the Text entry portion of the submission, please also include the following information 1. How many hours it took you to complete 2. The most difficult part of the lab Dashboard Calendar To Do Notifications Inbox .nl AT&T 12:28 AM 84%- Back Lab2A.txt new.studenthowardcc.edu SweetToothgmail.com namenotfoundyahoo.com mQuinn howardcc.edu java.studentehowardcc.edu chocolatelovergmail.com dud2Atmsn dmilburn howardcc.edu candyKrunchecocoa.com endoftextfile DashboardCalenda Notifications nbox To Do screenshot of the output required
Put some comment
Do not do the question 4
This is the mailing list text file of the assignment
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started