Question: In Linux Part-1: Write a program to continuously read numbers. Save all the odd numbers in one file and all the even numbers in another

In Linux

Part-1:

  1. Write a program to continuously read numbers. Save all the odd numbers in one file and all the even numbers in another file. When you enter -1, you should stop reading more numbers.
  2. Write two scripts called encryption and decryption. Test both scripts by encrypting a file called file1 and save the result in file2. Then use file2 as the input to the decryption script and check if the output is the same as file1.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!