Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

A simple substitution cipher can be created by shifting a letter n positions in alphabetic order.

For example, if the possible characters are the list [A...Za...z], a shift of three would translate A to D and Z to c. The shift is circular so z would shift around to C. The shift value, n, can be positive or negative.

Write c/c++ program that performs this simple substitution cipher. Your c/c++ program should request the user to enter a shift value, followed by one alphabetic character. It should then print the cipher text for that character.

Print an appropriate error message if the user enters something other than a letter from the list [A...Za...z].

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M93119327

Have any Question?


Related Questions in Computer Engineering

What are the characteristics of perfect competition and

What are the characteristics of perfect competition, and does is exist in the real world?

Suppose a soft drink company want to perform a taste test

Suppose a soft drink company want to perform a taste test on 5 brands of diet cola. How many permutations are there for presenting 5 diet colas to test subjects?

Need a use case diagram for a case studythe case studypaul

Need a use case diagram for a case study: The case study Paul is the Director of IT Services for a consulting firm Avant. The firm has been growing fast since it was launched in 2010. With over 100 employees and hundreds ...

To speed up memory access caching is typically used a

To speed up memory access, caching is typically used. A memory cache is a small but fast memory where data recently accessed is kept in anticipation of future references. When an access is made, if the data is in the cac ...

Why are we in the golden age of technology entrepreneurship

Why are we in the 'golden age' of technology entrepreneurship? What factors are helping entrepreneurs more rapidly achieve their vision, and with a lower cost?

Sorting amp searching i need this written in cwrite a

Sorting & Searching ( I need this written in C) Write a program that will allow a user the opportunity to compare and analyze the efficiency of several sorting algorithms. The program will sort integer arrays of size 10, ...

Question suppose that you have 2 dfas and have 7 and 6

Question : Suppose that you have 2 DFAs and have 7 and 6 states respectively, and 3 and 4 final states respectively. If I built the product DFA for the intersection of their languages, how many final states will the resu ...

How to perform a regression for barrels sold vs us pop

How to perform a regression for barrels sold vs. US Pop. Write the estimated regression equation? The barrels sold are the dependent variables while US Pop is the independent variable.

Write a program that takes as input an xy center value and

Write a program that takes as input an x,y center value and radii for two circles, draws them in a turtle (Python) window, and prints whether they intersect or not. You should show intersecting circles, and show non-inte ...

What strategies might help redirect a disruptive student

What strategies might help redirect a disruptive student? What strategies might help an unmotivated student?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As