Вы находитесь на странице: 1из 1

1.

Write a program to perform multiplication of matrices using objects as


arguments and returning objects.
2. Write a program to maintain stock list of a shop. Functions for adding and
removing of items should be available. [Hint: use data members as array]
3. Write a program to find largest of 3 numbers using inline functions [using
functions that return values]
4. Write a function power() to raise a number m to power n. The function
takes a double value for m and int value of n and returns the result
correctly. Use a default value 2 for n to make the function to return square
of the number. Write a main program to test it.
5. Write a program to calculate simple interest and compound interest for the
investment of customers
6. Write a program to count the votes by reading the ballots of voting people
in an election contested by 5 candidates.
7. Store batting scores of players in different matches and find the average
batting score.[use arrays]

Вам также может понравиться