answersLogoWhite

0


Best Answer

#include<iostream>

void product (double a, double b) {

std::cout << "The product of " << a << " and " << b << " is " << a*b << std::endl;

}

int main () {

product (6, 7);

product (2, 21);

}

Output:

The product of 6 and 7 is 42

The product of 2 and 21 is 42

User Avatar

Wiki User

6y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a c plus plus cord that multiply two different assigned numbers and display them out?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the purpose for Typeface in Excel?

You need some typeface to display text and numbers. You can choose different ones for different headings or numbers, whatever you choose.You need some typeface to display text and numbers. You can choose different ones for different headings or numbers, whatever you choose.You need some typeface to display text and numbers. You can choose different ones for different headings or numbers, whatever you choose.You need some typeface to display text and numbers. You can choose different ones for different headings or numbers, whatever you choose.You need some typeface to display text and numbers. You can choose different ones for different headings or numbers, whatever you choose.You need some typeface to display text and numbers. You can choose different ones for different headings or numbers, whatever you choose.You need some typeface to display text and numbers. You can choose different ones for different headings or numbers, whatever you choose.You need some typeface to display text and numbers. You can choose different ones for different headings or numbers, whatever you choose.You need some typeface to display text and numbers. You can choose different ones for different headings or numbers, whatever you choose.You need some typeface to display text and numbers. You can choose different ones for different headings or numbers, whatever you choose.You need some typeface to display text and numbers. You can choose different ones for different headings or numbers, whatever you choose.


What are some 5-digit numbers that are divisible by 4 and 9?

Any multiple of 36 will do. Multiply 36 by different numbers, until you get a 5-digit number.Any multiple of 36 will do. Multiply 36 by different numbers, until you get a 5-digit number.Any multiple of 36 will do. Multiply 36 by different numbers, until you get a 5-digit number.Any multiple of 36 will do. Multiply 36 by different numbers, until you get a 5-digit number.


What sequenced numbers are assigned by the beco's office that are different on every dd1348-1A in a batch?

1349


What two different numbers that when you multiply them you get 479?

239.5*2


What are two different ways to multiply?

there are two compensation and compatible numbers


What 2 numbers can mutiply to get 42?

These two numbers can multiply to get 42: -8i and 5.25i. Note: i is the square root of negative one. Most calculators will not be able to display this number.


What do you get when you multiply numbers?

When you multiply numbers, you get their product.


What do you get when you multiply 2 prime numbers?

A composite number. (If they are different numbers, keep in mind 1 is not a prime number)


7 segment display LED?

A seven segment display is a device used to display numbers and letters on things such as alarm clocks. A 7 segment display is simply seven LED's packaged in a pattern that allows numbers and letters to be displayed by illuminating different sets of LED's.


Find 3 numbers whose GCF is 18?

You can multiply the number 18 by different numbers that are relatively prime, for example by different prime numbers.


The numbers you multiply in a multiplication problem?

you multiply the two numbers before the =. ex. 4x8=. the 4 and the 8 are the numbers you multiply another is 6x9=. the 6 and the 9 are the numbers you multiply.


How is multiplying mixed numbers different than multiplying fractions?

if you have mixed numbers you make them into improper fractions before you multiply