Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions multiply.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#include <iostream>
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
}