Monday, June 13, 2011

C++ : Algorithm and Program Function Integer Multiplication 2 Using theAddition Operator

download

ANALYSIS
a x b = a + a + a +...+ a (b times as much)

ALGORITHM
{Calculated by multiplying a and b using the summation operator}

DECLARATION
results, i: integer

DESCRIPTION
result <- 0for <- 1 to b doresult <- result + atimes <- resultdownload

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More