Question: java please Objectives To use repetition statement To use counter-controlled repetition To handle String Problem Specification Message Encryption You want to send a secret message

java please

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

java please Objectives To use repetition statement To use counter-controlled repetition To

Enter Message: Let's go party at 6pm! Encrypted Message: L#t's go p@#ty @t *pm! Total Encrypted Character(s): 5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!