CISC 1115 Assignment 7 -- Strings Write a complete Java program, including good comments, to do the following: The progr

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

CISC 1115 Assignment 7 -- Strings Write a complete Java program, including good comments, to do the following: The progr

Post by answerhappygod »

Cisc 1115 Assignment 7 Strings Write A Complete Java Program Including Good Comments To Do The Following The Progr 1
Cisc 1115 Assignment 7 Strings Write A Complete Java Program Including Good Comments To Do The Following The Progr 1 (75.47 KiB) Viewed 83 times
CISC 1115 Assignment 7 -- Strings Write a complete Java program, including good comments, to do the following: The program will read in a list of words that represent the variable names used in a Java program. The program will check whether each of these variable names begins with a digit. Words that begin with a digit are not valid identifiers, and an error message should display for each such word. Words that begin with a capital letter should get a warning that variables should not be capitalized. The program should then read in another list from a different file. This list will get checked in the same way as the first list, both for starting with a digit and a capital letter. (note : do NOT duplicate code. Make sure to call a method) Finally, print a message stating whether the 2 lists of variable names that were read in are identical. Hint: the easiest way would be to first sort each list, and then compare them. Your sample data files should have at least 10 words in each. Your program should have at least 3 methods in addition to main.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply