Program to reverse an array of floats


Question1) Write a program to input the marks of 10 students in an array of integers and display themarks.

Question 2) Write a program to search how many times a number is present in an array.

Question 3) Write a program to subtract two arrays of the same size.

Question 4) Write a program to input the sales made by a salesman in every month of a given year and find out the total, average, maximum and minimum sales.

Question 5) Write a program to calculate the average of 10 values stored in an array and display all those values which are more than the calculated average.

Question 6) Write a program which finds the locations and values of largest and second largest element ina one dimensional array.

Question 7) Write a program to reverse an array of floats.

Question 8) Write a program to create a sorted list using arrays. Every time the element is entered in the array, the array must remain sorted.

Question 9) Write a program to rotate an integer array towards right by the given number of times.

Question 10) Write a program to input 20 values in an integer array and count the negative, positive, oddand even values in the array.

Question 11) Given an array named A with following elements: 3, -5, 1, 3, 7, 0, -15, 3, -7, -8.

WAP to shift the negative numbers to the left and positive numbers to the right so that the resultant array look like

-5, -15, -7, -8, 3, 1, 3, 7, 0, 3

Question 12) Write a program to copy the last 5 elements of array B after first 5 elements of array A. Assume length of A and B is greater than 5.

Question 13) Write a program to print all the palindrome numbers from an integer array and find out their sum.

Question 14) Write a program to print all the prime numbers from an integer array and find out their sum.

Question 15) Write a program to input 10 values in a float array and display all the values more than 75.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Program to reverse an array of floats
Reference No:- TGS04897

Expected delivery within 24 Hours