What does it mean by "Provide code to create ONE object?"Code:(a) Is/Are there error(s) with the following class definition and/or object creation? If no, provide code to create ONE object. If yes, please provide your explanation for credit. #include <iostream> using namespace std; // For all classes, the negativity of the fraction will apply // to the numerator class FractionA { public: int n; int d; }; int main( void ) { FractionA frA; // Line 1 : POSSIBLE CODE TO CREATE OBJECT return 0; }
Thanks.