0
C++ code for modification
A C++ program computes the value of 3 ^ 4 Modify the program to do the computation for 2 ^ 4, 3 ^ 3, 5 ^ 4 , and 4^4, at once. I’m not sure how to do this and if a vector is needed in the modification? https://code.sololearn.com/cptcmB8ix3wk/?ref=app
2 odpowiedzi
+ 1
just make a new method
https://code.sololearn.com/cA17A14A26A1
+ 1
thanks!