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.
Write a program that accepts 10 integer values from iser in an array and passes array and its size to a function . The function makes the odd values stored in the array 2- times the updated array is displayed by main().