C++ Program to Multiply two Numbers


C++ Program to Multiply two Numbers
In this program, user is asked to enter two numbers (floating point numbers). Then, the product of those two numbers is stored in a variable and displayed on the screen.

Table of Contents

Programe :

#include <iostream>
using namespace std;

int main()
double firstNumber, secondNumber, productOfTwoNumbers;
cout << “Enter two numbers: “;

// Stores two floating point numbers in variable firstNumber and secondNumber respectively
cin >> firstNumber >> secondNumber;

// Performs multiplication and stores the result in variable productOfTwoNumbers
productOfTwoNumbers = firstNumber * secondNumber;

cout << “Product = ” << productOfTwoNumbers;

return 0;

OutPut :

Enter two numbers: 3.4
Product = 18.7


  1. I think this is one of the most significant information for me. And i’m glad reading your article. But wanna remark on few general things, The website style is perfect, the articles is really nice : D. Good job, cheers

  2. Hi! Someone in my Myspace group shared this site with us so I came to look it over. I’m definitely enjoying the information. I’m book-marking and will be tweeting this to my followers! Wonderful blog and outstanding style and design.

  3. Hiya! Quick question that’s entirely off topic. Do you know how to make your site mobile friendly? My website looks weird when viewing from my iphone 4. I’m trying to find a theme or plugin that might be able to correct this problem. If you have any suggestions, please share. Thank you!

  4. Unquestionably consider that that you stated. Your favourite justification appeared to be at the net the simplest thing to take note of. I say to you, I definitely get irked whilst other people consider concerns that they plainly do not realize about. You controlled to hit the nail upon the top as welland also defined out the whole thing with no need side effect , other people can take a signal. Will likely be back to get more. Thank you

  5. With havin so much written content do you ever run into any problems of plagorism or copyright violation? My site has a lot of completely unique content I’ve either created myself or outsourced but it appears a lot of it is popping it up all over the web without my agreement. Do you know any techniques to help reduce content from being ripped off? I’d truly appreciate it.

  6. Tell your doctor if you think you may have a serious medical problem or if you have symptoms of low potassium in the blood such as irregular heartbeat, muscle weakness cramps buy generic cialis To determine the dose 31, 32 and the mode of administration of lidocaine 33 in this preclinical cancer model, we adapted protocols used in clinical practice

  7. Second, the benefits of playing mobile gambling are enormous. Even just winning once, you can have the opportunity to get money worth millions of rupiah. That’s only for one match, not to mention if you place bets on many big matches. Best viewed using Mozilla Firefox, Google Chrome, Internet Explorer 11+ dan Safari What to watch – Netflix Australia | Stan | Binge | Disney Plus Australia | ABC iView | SBS On Demand | Apple TV Laman web Kiss918 APK Original ini menawarkan pelbagai permainan slot untuk dimainkan oleh pengguna. Permainan ini dicipta dengan mengambil kira pengguna dan dibuat untuk dimainkan untuk keseronokan. Walau bagaimanapun, permainan ini juga direka supaya awak boleh memenangi wang sebetul. Sebaik sahaja awak memenangi permainan, wang itu dipindahkan ke akaun awak. awak juga boleh bermain permainan lain selain daripada Slot 918Kiss Malaysia.
    Prefer to play big? Then we know what you really need. Get our special High Roller Bonus 50% up to € $ 2000 for your first deposit starting from € $ 1000. PlayAmo casino is set to strongly support all of its players and provide you with maximum comfort. Playamo If you are also looking for a dynamic casino that keeps updating its library of games every now and then, PlayAmo casino is the place. Its development team is always working on something new and when it finally comes, you can be sure to be awed. If your deposits levels qualify, you can optimise the High Roller bonus at PlayAmo. Deposit $ €1000 or more and get 50% up to $ €2000. Use PlayAmo bonus code ‘HIGHROLLER’ to claim. In online casinos, no deposit bonuses are offered to attract new players. No deposit bonuses allow players to win real money prizes without having to risk their own money. In addition to getting to know the casino and its games, you can also win real money prizes and explore different options.

  8. If you’re ordering from our essay writing service for the first time, we will assign you a suitable expert ourselves and ensure that your academic essay writer is a pro. Moreover, let us know how complex your assignment is so that we can find the best match for your order. It is believed that with lots of writing tasks accomplished by you regularly, your writing skills will develop better and faster. But the fact is that students usually do not focus on grammar and punctuation. And it affects their career quite adversely. Though daily practice often leads to the improvement of skill status, it may also gradually degrade the skill status of a student. Besides, your paper should not only be well organized, but also grammatically correct. So, in all these situations, our essay writing servicecan show you the right path and give you proper guide.
    ‘ + data.date + ‘,’ + data.nick + ‘: The first paragraph is important because it grabs the reader’s attention, provides necessary background information on your topic, and prepares the reader for what is coming later in the essay. Without the first paragraph, you risk dropping the reader into your argument without any introduction. This makes things more difficult to understand. The first paragraph is prime real estate for getting your reader into the mindset. The transitional sentence signals that the new paragraph will provide another example of the phenomenon (changed mental habits) described in the preceding paragraph. In this example, the word “also” serves an important function. Notice that without this transitional cue the relationship between the two paragraphs becomes less clear.


Please enter your comment!
Please enter your name here