write afunction int mul(int, int) which takes two numbers and do multiplication by repeated addition. write aprogram to inter tow numbers and print the product
1
Expert's answer
2012-12-27T09:23:17-0500
//#include <stdafx> #include <iostream> using namespace std;
void mul(int a,int b) { double V=0;
& V=a*b;
cout << "a*b= "<< V<< endl; }
int main() { int digit; cout << "Enter f and b: "; int a,b; cin >> a; & cin >> b;
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment