Create a class called “PROCESSINTEGER” for comparing two INTEGERS. Provide member functions input, isEqualTo, isNotEqualTo, isGreaterThan, isLessThan, isGreaterThanOrEqualTo and isLessThanOrEqualTo. The predicate functions simply returns 1 if the relationship holds true between the two Integers and returns 0 if the relationship does not hold. Also, provide a predicate function isZero. Provide a driver program to appropriately execute each member function.
duttydane
0
Newbie Poster
Recommended Answers
Jump to PostLooks like a worth while homework assignment. What have you done so far?
Jump to PostExcellent. So what's next?
(and welcome to DaniWeb!)
All 5 Replies
Fbody
682
Posting Maven
Featured Poster
duttydane
0
Newbie Poster
raptr_dflo
48
Posting Pro
duttydane
0
Newbie Poster
tkud
0
Posting Whiz in Training
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.