Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I only need the basic code for Blue j. Complete steps1-10 of Problem solving for the problem given below, project data will be in two

image text in transcribed

I only need the basic code for Blue j.

Complete steps1-10 of Problem solving for the problem given below, project data will be in two data files, first will be data5a.txt with the offset value and the second will be data5b.txt that will have several lines of codes. They will be posted on D2L on Wed 3/6/19 by 5:00pm. Hand in steps 1,2,3,4,5-7,9,10 in a pocket folder. Note step one will be the problem statement below. Run the program to process many lines, until the end of the file is reached. At the end of the program print a count of the lines(codes)_ processed. You will need to use both For loops and While loops. Input each code as a string and print out the message as a string Write a program to decode Ceasar Cipher secret messages, using the numeric key from data5a.txt, described below. Each line he data file, data5b.txt will be a string to be converted from the garbled characters into readable characters. The numeric Key is the positive integer value that was added to the ascii character's numeric value to get the coded message. You should subtract that value to decode(remember to keep the character values in the range of".'z, have numeric value between 97(a) and 122(z). If a character is outside after conversion, force that character back into the range). Any characters that do not start in that range should just be passed straight through, for instance the space(character 32). All letters will be lower-case, punctuation and spaces should be passed straight through. Sample output easax Cipher, decoding message the code is-*AAK yaaaausuhh didd Baaxx.webassu55 JgIA* decoded is *the quick brown fox jumps over the lazy dog* decoded is *to be or not to be, that is the question There were 2 codes processed Sample input: dataSample5a.txt dataSample5b.txt The ascii values for lowercase letters are given below 97 98 100 101 102 103 104 105 106 107 108 109 0 110 112 113 114 115 116 120 121 122

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

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

More Books

Students also viewed these Databases questions