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.

Recommended Answers

Looks like a worth while homework assignment. What have you done so far?

Jump to Post

Excellent. So what's next?
(and welcome to DaniWeb!)

Jump to Post

All 5 Replies

i have created the class and started the main

Excellent. So what's next?
(and welcome to DaniWeb!)

i need with thc coding

i need with thc coding

Write it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.