I have been given an assignment to design and program a calculator using C++ and Ultimate ++IDE(Integrated development Environment). My code should have a class Calculator as a base class, and another class scientificCalculator which inherits from class Calculator. The Calculator class performs basic arithmetic operations. The scientificCalculator adds more operations, and is able to compute Sine, Cosine, Tangent, Logarithm and Exponential computations. Please can someone come to my rescue because I have to submit by the 22nd November 2009.
masapo
0
Newbie Poster
Recommended Answers
Jump to Post>made by: Fahad
You shouldn't admit to writing code like that.
Jump to PostIn this style every one can understand easily!!
And with everyone, you probably mean: no-one. Learn about indenting code. Not to mention the use of clrscr(), void main(), conio, etc etc
All 7 Replies
samsons17
-4
Posting Whiz in Training
F@hd
0
Newbie Poster
Narue
5,707
Bad Cop
Team Colleague
F@hd
0
Newbie Poster
kvprajapati
1,826
Posting Genius
Team Colleague
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
Narue
5,707
Bad Cop
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.