Question: 1) Write a program to count the lines in a file. An example file is attached. The program will take one argument - the name

1) Write a program to count the lines in a file. An example file is attached. The program will take one argument - the name of the file to be opened and read.

2) Average the numbers found in the attached file

3) Find the max, min, variance, and standard deviation.

4) Write a program to show the endianness of a machine

5) Write a program to find the relative time of the following operators: interger +, integer -, integer *, integer /, integer %, float +, float -, float *, and float /.

6) Write a recursive program that causes the program to crash. How calls does it take before it crashes?

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!