#include using namespace std; bool Facto(int* pSquared, int* pCubed, int n); int main() { int number, squared, cubed; bool status; cout « "Enter a number (0 - 10): "; cin >> number; /* a. Write the...


#include <iostream><br>using namespace std;<br>bool Facto(int* pSquared, int* pCubed, int n);<br>int main()<br>{<br>int number, squared, cubed;<br>bool status;<br>cout « > number; /* a. Write the statement to call function Facto() */ if (status) { cout <« "number:="" "="">< number="">< end1;="" cout=""><« "square:="" cout=""><« "cube:="" "=""><« cubed="" «="" endl;="" }="" "="" «="" squared="" «="" endl;="" else="" cout="" «="" "error="" encountered!\n";="" cout=""><« endl="" «="" endl;="" bool="" facto(int*="" psquared,="" int*="" pcubed,="" int="" n)="" bool="" value;="" *="" b.="" write="" the="" statements="" in="" the="" function="" body="" */="" return="" value;="" "/="">
Extracted text: #include using namespace std; bool Facto(int* pSquared, int* pCubed, int n); int main() { int number, squared, cubed; bool status; cout « "Enter a number (0 - 10): "; cin >> number; /* a. Write the statement to call function Facto() */ if (status) { cout <« "number:="" "="">< number="">< end1;="" cout=""><« "square:="" cout=""><« "cube:="" "=""><« cubed="" «="" endl;="" }="" "="" «="" squared="" «="" endl;="" else="" cout="" «="" "error="" encountered!\n";="" cout=""><« endl="" «="" endl;="" bool="" facto(int*="" psquared,="" int*="" pcubed,="" int="" n)="" bool="" value;="" *="" b.="" write="" the="" statements="" in="" the="" function="" body="" */="" return="">

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here