Rewrite the following function so that the following conditions are satisfied:
a. The multiplication operator ('*') is not used.
b. The division operator ('/') is not used.
c. The function does not make use of loops.
d. DO NOT use assembly
int MultiplyBy321(i nt value) {
int rslt;
rslt = value * 321;
return rslt;
}
a. The multiplication operator ('*') is not used.
b. The division operator ('/') is not used.
c. The function does not make use of loops.
d. DO NOT use assembly
int MultiplyBy321(i nt value) {
int rslt;
rslt = value * 321;
return rslt;
}
Comment