Question: 7:38 PM Lab assignment 5.docx 1. Perform a multiplication test as in the lecture notes. The program should give the students 10 questions with random

 7:38 PM Lab assignment 5.docx 1. Perform a multiplication test as

7:38 PM Lab assignment 5.docx 1. Perform a multiplication test as in the lecture notes. The program should give the students 10 questions with random numbers, and estimate the scores for the test. 2. Write a function that takes three arguments: a character and two integers. The character is to be printed The first integer specifies the number of times that the character is to be printed on a line, and the second integer specifies the number of lines that are to be printed. Write a program that makes use of this function. 3. Write a program that reads a string from the keyboard. Write a function to take the string as argument, go through the string, and return how many alphabet is there in the string. For example, if the string is "Hello, world!", the alphabet number is 10 4. Write a function that returns the difference between the largest and smallest elements of an array-of- double. Test the function in a simple program. 5. Write a program that declares an array of 10 elements and initializes it to some values of your choice. Have the program print the values, double all the values, and then display the new values. Write a function to do the displaying and a second function to do the doubling. Have the functions take the array name and the number of elements as arguments

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!