Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

how to calculate 2^7 in cpp code

while (exponent != 0) {
    result *= base;
    --exponent;
}
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #calculate #cpp #code
ADD COMMENT
Topic
Name
1+5 =