Question: CSCI 428 - Ch05 Please upload your source code (java files) on myLeo Online (D2L Brightspace) Objectives To use repetition statement To use counter-controlled repetition
CSCI 428 - Ch05
- Please upload your source code (java files) on myLeo Online (D2L Brightspace)
Objectives
- To use repetition statement
- To use counter-controlled repetition
- To handle String
Problem Specification
Message Encryption
You want to send a secret message to your best friend so you need to encrypt the content of it.
The way that you encrypting the message will be based on following rules:
A, a => @
Even numbers (0,2,4,6,8) => *
W, w, E, e, R, r => #
B, b, H, h => -
Output the encrypted message and total number of encrypted characters.
Design Specification
- Use do while
- Use for
- Use switch
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
