Questions: 11 448

Answers by our Experts: 10 707

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Write function headers for the functions described below:

(i) The function check has two parameters. The first parameter should be an integer number and the

second parameter a floating point number. The function returns no value.

(ii) The function mult has two floating point numbers as parameters and returns the result of

multiplying them.

(iii) The function time inputs seconds, minutes and hours and returns them as parameters to its

calling function.

(iv) The function countChar returns the number of occurrences of a character in a string, both provided as

parameters.


Write a program that asks the user to enter the monthly costs for the following expenses incurred from operating his or her automobile: loan payment, insurance, gas, oil, tires, and maintenance. The program should then display the total monthly cost of these expenses, and the total annual cost of these expenses


Take two matrices a,b of dimensions m*n, set values to the matrices


Create functions to add matrices and return thr result


Write a program that reads an integer and determines and prints whether it is odd or



even.



a) first the program using if statements



b) then the program using if/else statements




Write a program that reads in five integers and determines and prints the largest and


the smallest integers in the group. Use only the programming techniques you learned


up to now.

Write a program that reads in the radius of a circle and prints the circle's diameter,




circumference, and area. Use the constant value 3.14159 for p. Do all calculations in




output statements.

Write a program that will accept five (5) grades. Use an array in



storing the five (5) grades. Calculate the average of five (5) grades and



determine the remark of the average if PASSED or FAILED. Write a



function in accepting the five (5) grades, function in calculating the



average of the five (5) grades and a function in determining the remark of



the average.

Using function arrange small letters before capital letters using cstring

Write a program in which there is five questions having 4 choices (a,b,c,d). You have to write question in (.txt) file and use fstream and use file handling concept in a [void question ()] function. Open the .txt file inside a function given above.









15 Marksp









Thanks.

Write a program that uses a for statement to find the smallest of several integers.


Assume that the first value read specifies the number of values remaining and that the


first number is not one of the integers to compare.



LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS