Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CSCI 428 - Chos Please upload your source code (java files) on myLeo Online (D2L Brightspace) Objectives To use repetition statement To use counter-controlled repetition
CSCI 428 - Chos 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 Example: Enter Message: Let's go party at 6pm! Encrypted Message: L#t's go p@#ty @t *pm! Total Encrypted Character(s): 5 Enter Message: Just you only Encrypted Message: Just you only Total Encrypted Character(s): 0 4:40 ! $ s. 34% CSC1428 Chos Assignment - Saved Enter Message: Remember to keep the number 1239576345226 secret. Encrypted Message: - to kupt- un 139'7*3*5*** secret Total Encrypted Character(s): 23
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