Decode Project. - 16785

Request Posted by
Kellito13

Kellito13

Rating : No Rating
Earned: $0
Request Detail
Price: $20
  • From: Computer Science, Programming
  • Due on: Thu 18 Apr, 2013 (04:50pm)
  • Asked on: Thu 18 Apr, 2013
  • Due date has passed, but you can still Post Solution.
Description

Spy investigating company is working on some highly confidential material and will be sending their messages in messages in secret code.

 

 

 

All vowels (A,I,E,O,U) will be replaces by the next lowercase character in the alphabet. (example, 'A' will be changed to 'b')

All spaces will be replaced by two lowercase z's.

All periods will be replaced by an uppercase Z.

All consonants will be replaced by the previous uppercase character. (example, 'B' will be changed to 'A')

 

 

 

Note:

 

 

 

1.The message must end with CTRL Z.

2.Must use getchar for input and a switch statment for manipulatio nof the characters.

3.All messages will consists of uppercase letters of the alphabet, spaces, or periods.

4.The input should be no longer than 60 characters. If it is print out an error message and stop processing.

5.To change the case of a character use  the tolower and toupper functions. Remember, in order to use these functions, include 

#include<ctype.h>

 

 

the input:

CAN YOU DECODE THIS MESSAGE.

 

The original line is:

CAN YOU DECODE THIS MESSAGE.

 

The modified line is :

ZfFbRRfLzzRjGSzzfCpBfCzzvpXzzMbB

1 Solution for Decode Project.
Title Price Category solution By purchased  
Decode Project in C++
$30.00 no category sarmad_junaid 1 time(s)
Please Login or Register to Submit the Solution for the Request