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

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!