1. The function below accepts one integer as input and write a loop to subtract one from variable
a until either variable a is greater than 0 (or)
you perform the subtraction five times finally, return the variable x in c++.
1. The function below accepts one integer as input and write a loop .pdf
1. 1. The function below accepts one integer as input and write a loop to subtract one from variable
a until either variable a is greater than 0 (or)
you perform the subtraction five times finally, return the variable x in c++