Question: Do these two problems in C . problem 1 : Write a program that reads lines from stdin and for each line determines if it
Do these two problems in C problem : Write a program that reads lines from stdin and for each line determines if it is
a palindrome. To deal with more advanced test cases, your program should ignore
case, punctuation, and whitespace. Blank lines should be ignored and not counted
as palindromes or not palindromes. For full credit, yourprogram should have a
function that takes the string as a parameter and returns if it is a palindrome and
otherwise. The main function should do all the input and output. A summary of
the number of palindromes should be printed at the end. Problem : Write a program that can encrypt and decrypt data using the Caesar cipher
method Caesar cipherYour program takes two command line arguments: e or d
to specify if you are encoding or decoding,respectively; and then the amount to shift.
You will take in the data as stdin and produce the result to stdout. Your program
can ignore the case of the input and generate the output in upper case but preserve
whitespace and any nonalphabet characters. The examples below illustrate how the
program should work.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
