Write a class named Number. the number class should include one integer Data member "no". the Number should contain the following methods .
a) Constructor to initialize no.
b) overload operator +, - , *
and show function to show the result.
write a main function. in main function create two object from the above class and and perofrm the following expression .
n1 = n1+n2*n3
after thois show n1 object value.
Answers
Answered by
0
Answer:
please see in Google and found that the answer
Similar questions
Social Sciences,
4 months ago
English,
4 months ago
Social Sciences,
4 months ago
Chemistry,
9 months ago
Math,
9 months ago
Computer Science,
1 year ago