find output #include < iostream >
using namespace std;
void do_calc ( int n1, int& n2) ;
int main(){
int n1=10;
int n2 =20;
do_calc ( n1 , n2 ) ;
cout << num2 << " " << num1 << endl;
}
void do_calc ( int n1, int & n2 ) {
n1 = n1 +10;
n2 = n2*5;
cout << num2 << " " << num1<< endl
Answers
Answered by
0
Program is not correct.
It contains lots of error!
Rewrite code.
Similar questions