int maxprod (int n)
{
return n/2;
}
int main (void)
{
int n, a, b;
n= 7; /* for example */
a= maxprod (n);
b= n-a;
printf ("%d+%d=%d, %d*%d=%d\n", a, b, a+b, a, b, a*b);
}
int x; //first number int y; //second number int z = x*y;
There is no such thing as the product of just one number, a product is when 2 or more numbers are multiplied. The product of a number and another number means the answer you get when you multiply the two.
#include<iostream> int main() { std::cout << "Enter two numbers: "; double a, b; std::cin >> a >> b; // note: error handling omitted for brevity! std::cout <<"The product of " << a << " and " << b << " is " << a*b << '\n'; }
A: is not current or voltage but rather the product that is of concern
1
find two positive numbers whose product is a maximum. 1.) the sum is s.
272 is the maximum possible.
3844
529.
"The sum of a number and three times another number is 18. find the numbers if their product is a maximum?"
the two numbers can only be 24 and24
64
5+5 = 10 (Sum is ten)5*5 = 25 (Product is 25)*this product is maximum for all any 2 real numbers that == 10
If the numbers are positive integers then the maximum product is usually obtained when the three numbers are equal but this cannot apply in this case. However, the three numbers that are almost equal are 7,7 and 6. The maximum product is, 7 x 7 x 6 = 294.
-8x-8=64
-9 and -9 multiply to get 81. ■
4.5 x 4.5 =20.25