diff --git a/multiply.c b/multiply.c new file mode 100644 index 0000000..9b8a34c --- /dev/null +++ b/multiply.c @@ -0,0 +1,24 @@ +#include +using namespace std; + +<<<<<<< HEAD +void main() +{ +======= +int main() { +>>>>>>> e3f6af9ed60988191cc8c05372b100ba87307f43 + double num1, num2, product; + cout << "Enter two numbers: "; + + // stores two floating point numbers in num1 and num2 respectively + cin >> num1 >> num2; + + // performs multiplication and stores the result in product variable + product = num1 * num2; + +<<<<<<< HEAD + cout << "Product = " << product; +======= + cout << "Product = " << product; +>>>>>>> 7548ccdf850457206deb94534e54e10a64958e69 +}