this is about making a loop for powers
stripe3 is the variable
how do u do stripe3*10 stripe3 times
for example if stripe3 = 5
then my question is how do u do 5*10 5 times
because there isnt an opperation in c++ for exponents
so i was thinking of making a loop but i can't figure out
how to write a loop for this ?
also sence before hand i am going to have a user input a value for a couple things including stripe3 and then the loop will calculate then out put the answer any ways im wondering if i should use cin and cout or printf and scanf for the user input stuff also i cant seem to figure out how to combine a user input with cin and cout with loops and if else statements and the data after compiled comes out wrong.
could you guys help me out with this i'd apreaciate it thanks.