Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task # 1 - ( 5 0 points ) encrypted message exists. Requirements Name your program project 5 _ decrypt.c . Assume the input length

Task #1-(50 points)
encrypted message exists.
Requirements
Name your program project5_decrypt.c.
Assume the input length for the string is no more than 1000 characters.
Assume the input string contains only lowercase alphabetic letters.
The program should include the following function:
void decrypt(char *input, char *output);
The function expects input contain the input string and output stores the decrypted string.
This function should use pointer arithmetic- not subscripting - to visit array elements. In other words, eliminate the loop index variables and all use of the [] operator in the function.
String library functions are NOT allowed.
main function calls the decrypt function and displays the output.
Follow the format of the examples below.
Examples (your program must follow this format precisely)
Example #1
Enter message: siisss
Output: sis
Example #2
Enter message: teemmmpppp
Output: temp
Example #3
Enter message: npp
Output: np Using a 4X16 decoder module and a OR gate to implement the Boolean function f(a,b,c,d)= abc+ a'cd.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 11g SQL

Authors: Jason Price

1st Edition

0071498508, 978-0071498500

More Books

Students also viewed these Databases questions

Question

Explain the advantages of a relational database.

Answered: 1 week ago

Question

How do modern Dashboards differ from earlier implementations?

Answered: 1 week ago