Q1: write a program that works as a calculator. Calculator should perform operations of finding sum, product, division, multiplication, reminder and average of 2 numbers taken from the user. Choice of operation is also entered by the user. Use function for each operation.
Q2: write a program that calculates perimeter of a trapezoid (height*(base1+base2)/2. Take values from the user. Use function that returns value to the calling function.
Q3: write a program that calculates multiple of any number up to any limit. Number and the limit are entered by the user.
Q4: write notes on the following?
1: characteristics of OOP.
2: scope and lifetime of a variable.
1
Expert's answer
2013-01-21T08:04:27-0500
Dear Customer, Unfortunately your question requires a lot of work and cannot be done for free. Please submit it on our web site by providing all specific requirements and we will assist you. Thank you.
Comments
Leave a comment