(B) Write a Java program that crates an array of 100 random lowercase letters, and then converts a copy of each letter to uppercase letter and move it to a new array. Then the program displays the elements of both arrays in rows of 20 letters. Your program must consider the following specifications: • Use Lettrs as the name of your class. • Type your name and student number above the class declaration using a block/paragraph comment. • Use documentation, comments and code style. • Use significant and appropriate identifiers. • Use appropriate data type for the variables. Here is a sample run: The lowercase letters are: bq g d kf dbhdfex p xikpy s te amf xfscv 1 f rzk recgo nw b sa phbhfhkgtrfgtgt upbx b bq g x a z ogscsh cow dm scx q e afuelnrsonkuq The uppercase letters are: BQGDK FDBHDFEXPXIKPYS TE AMFX FSCVL FR Z KRE CGO NW B SAPHBH FHKGTRFGT G T UPBXBBQGXA ZOGSC SHCOW DM SC XQEAFUELNRS ONKUQ

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Java

Using Arrays

 

(B) Write a Java program that crates an array of 100 random lowercase letters, and
then converts a copy of each letter to uppercase letter and move it to a new array.
Then the program displays the elements of both arrays in rows of 20 letters.
Your program must consider the following specifications:
• Use Lettrs as the name of your class.
• Type your name and student number above the class declaration using a
block/paragraph comment.
• Use documentation, comments and code style.
• Use significant and appropriate identifiers.
• Use appropriate data type for the variables.
Here is a sample run:
The lowercase letters are:
bq g dk f dbh d fe x p x ik p ys
te amfxfscvl frz kre cgo
n w b s a phbhfhk gtrfgt gt
upb x b b q g x a z ogs cshcow
dm s c x q e a fu elnrson k uq
The uppercase letters are:
BQ GDK FDBHDF EX PX I K PYS
TE AMFX FSCVL FRZKRECGO
N W BSA PHB HF HK GTR FGT G T
UPBX BBQG X A Z OGS CSH COW
DM S C X QE AFU ELNRS ONKUQ
Transcribed Image Text:(B) Write a Java program that crates an array of 100 random lowercase letters, and then converts a copy of each letter to uppercase letter and move it to a new array. Then the program displays the elements of both arrays in rows of 20 letters. Your program must consider the following specifications: • Use Lettrs as the name of your class. • Type your name and student number above the class declaration using a block/paragraph comment. • Use documentation, comments and code style. • Use significant and appropriate identifiers. • Use appropriate data type for the variables. Here is a sample run: The lowercase letters are: bq g dk f dbh d fe x p x ik p ys te amfxfscvl frz kre cgo n w b s a phbhfhk gtrfgt gt upb x b b q g x a z ogs cshcow dm s c x q e a fu elnrson k uq The uppercase letters are: BQ GDK FDBHDF EX PX I K PYS TE AMFX FSCVL FRZKRECGO N W BSA PHB HF HK GTR FGT G T UPBX BBQG X A Z OGS CSH COW DM S C X QE AFU ELNRS ONKUQ
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY