C++ Program to Add Two Numbers


C++ Program to Add Two Numbers
In this program, the user is asked to enter two integers. Then, the sum of those two integers is stored in a variable and displayed on the screen. Primary tabs.

Table of Contents


#include <iostream>
using namespace std;

int main()
int firstNumber, secondNumber, sumOfTwoNumbers;

cout << “Enter two integers: “;
cin >> firstNumber >> secondNumber;

// sum of two numbers in stored in variable sumOfTwoNumbers
sumOfTwoNumbers = firstNumber + secondNumber;

// Prints sum
cout << firstNumber << ” + ” << secondNumber << ” = ” << sumOfTwoNumbers;

return 0;

OutPut :

Enter two integers: 2
2 + 5 = 7


  1. where can i get generic propecia prices can you buy propecia without insurance or where can i buy propecia without prescription
    http://bockfamily.org/__media__/js/netsoltrademark.php?d=propecia.pro can i purchase cheap propecia tablets
    [url=http://www.bowwowcards.com/__media__/js/netsoltrademark.php?d=propecia.pro]can i buy generic propecia without dr prescription[/url] can you get propecia now and [url=https://www.warshipsfaq.ru/user/bcrrqtjc]can i buy cheap propecia pill[/url] where can i get propecia online

  2. where to get cheap propecia pills how to buy generic propecia tablets or cheap propecia without prescription
    http://jetscales.com/__media__/js/netsoltrademark.php?d=propecia.pro where to get propecia without prescription
    [url=http://petkensa.net/__media__/js/netsoltrademark.php?d=propecia.pro]can i buy propecia without rx[/url] can i purchase cheap propecia online and [url=http://lsdsng.com/user/456391]how to buy propecia without rx[/url] how to buy propecia pill

  3. can i get generic propecia online order propecia without dr prescription or can i order cheap propecia no prescription
    http://www.buycoupons.com/__media__/js/netsoltrademark.php?d=propecia.pro can i get cheap propecia online
    [url=http://standardsolutionsandbuffers.com/__media__/js/netsoltrademark.php?d=propecia.pro]buying generic propecia without rx[/url] where can i get generic propecia and [url=]can you get generic propecia without dr prescription[/url] how to get generic propecia pill

  4. can i buy cheap propecia price can i get generic propecia without rx or get generic propecia pills
    http://cunardemail.com/__media__/js/netsoltrademark.php?d=propecia.pro how to get generic propecia for sale
    [url=http://calpacpainting.com/__media__/js/netsoltrademark.php?d=propecia.pro]how can i get generic propecia online[/url] where can i get cheap propecia without prescription and [url=https://www.support-groups.org/memberlist.php?mode=viewprofile&u=67613]can you get cheap propecia[/url] generic propecia

  5. reduslim original [url=https://comprarcialis5mg.org/reduslim/]reduslim[/url] reduslim mercadona precio 2022
    donde comprar reduslim en barcelona [url=https://comprarcialis5mg.org/reduslim-kaufen/]reduslim[/url] reduslim para adelgazar
    cialis 5mg prezzo [url=https://comprarcialis5mg.org/it/cialis-5mg-prezzo/]tadalafil 5 mg prezzo in farmacia[/url] cialis 5mg prezzo
    reduslim farmacias zaragoza [url=https://comprarcialis5mg.org/]comprar cialis[/url] curso reduslim

    [url=https://music.rstalker.com/guitar/perfect.html?replyTo=218069#comment-222561]comprar reduslim amazon[/url] bab5_04

  6. famosos que han tomado reduslim [url=https://comprarcialis5mg.org/reduslim/]reduslim[/url] reduslim original
    como tomar reduslim capsulas [url=https://comprarcialis5mg.org/reduslim-kaufen/]reduslim kaufen[/url] que es el reduslim
    cialis [url=https://comprarcialis5mg.org/it/cialis-5mg-prezzo/]cialis 5 mg prezzo[/url] cialis
    beta agency reduslim [url=https://comprarcialis5mg.org/]comprar cialis 5 mg[/url] reduslim kaufen dm

    [url=https://independent.md/caritate-in-loc-de-afacere-un-barbat-ofera-ceapa-gratuit-nu-avem-unde-o-comercializa/#comment-311714]reduslim en pharmacie[/url] d23470b

  7. canadian pharmacy online reviews canadian pharmacy antibiotics or canada pharmacy world
    http://jazminchiarella.com/__media__/js/netsoltrademark.php?d=canadapharmcertified.pro best online canadian pharmacy
    [url=http://floridagolftrailpass.com/__media__/js/netsoltrademark.php?d=canadapharmcertified.pro]canadian online pharmacy[/url] canada rx pharmacy world and [url=http://www.chaoren.group/home.php?mod=space&uid=582010]onlinecanadianpharmacy 24[/url] safe canadian pharmacy

  8. canada pharmacy online best canadian online pharmacy reviews or cheap canadian pharmacy online
    http://ourgoodtimes.com/__media__/js/netsoltrademark.php?d=canadapharmcertified.pro my canadian pharmacy rx
    [url=http://m-safety.net/__media__/js/netsoltrademark.php?d=canadapharmcertified.pro]canadian pharmacy[/url] escrow pharmacy canada and [url=https://www.xiaoditech.com/bbs/home.php?mod=space&uid=1313552]reputable canadian pharmacy[/url] buying from canadian pharmacies

  9. I don’t even know how I ended up here, but I thought this post was good. I don’t know who you are but definitely you are going to a famous blogger if you are not already 😉 Cheers!

  10. Great goods from you, man. I’ve understand your stuff previous to and you’re just too magnificent. I really like what you’ve acquired here, really like what you’re stating and the way in which you say it. You make it entertaining and you still take care of to keep it sensible. I can not wait to read far more from you. This is actually a wonderful site.

  11. Comprar Cialis GenГ©rico En 24 Horas comprar cialis 5 mg Cialis Comprar En EspaГ±a
    Cialis 5 mg prezzo tadalafil 5 mg prezzo cialis 5 mg prezzo
    cialis cialis generico cialis 5 mg
    cialis 5 mg prezzo cialis 5 mg prezzo
    Dove Comprare Cialis Cialis Professional
    [url=https://comprarcialis5mg.org/it/]cialis 5 mg prezzo[/url]
    Tadalafil Generico 5 Mg Prezzo avanafil generico
    Buy Cialis Tadalafil At Horizon Drugs
    Medicine To Stop Period Immediately
    Fortalezas Cialis
    What Is The Best Tablet For Erectile Dysfunction

  12. Howdy just wanted to give you a quick heads up and let you know a few of the images aren’t loading correctly. I’m not sure why but I think its a linking issue. I’ve tried it in two different browsers and both show the same results.

  13. Guide to choosing a scooter for city riding: What to look out for
    When choosing a means of transportation for urban https://ru.interfax.com.ua/news/press-release/836935.html riding, many people turn their attention to scooters. Scooters have become a popular means of transportation in cities because of their compactness, economy, and ease of operation. However, before buying a scooter, it is important to consider several factors to choose the right model for your needs. In this article, we’ll look at the key aspects to consider when choosing a https://profootball.ua/461153-luis-enrike-i-ego-sbornaya-ot-futbolnogo-myacha-do-velosipedov/ scooter for urban riding.
    Size and compactness:
    One of the most important aspects when choosing a scooter for city riding is its size and compactness. You will want a scooter that can easily maneuver through crowded streets and can easily park in tight spaces. Consider https://rst.ua/autonews/auto/motozilla_1500_35667.html compact models with a small turning radius to be able to maneuver easily in a crowded city.
    Engine power:
    Scooter engine power is also an important https://en.interfax.com.ua/news/press-release/771832.html factor. In an urban environment, you will probably need a scooter with little power since you will be riding it for short distances at speeds that match the speed limits of city streets. https://ukurier.gov.ua/uk/news/shtrafi-u-2022-roci-dlya-vlasnikiv-skuteriv-mopedi/ Choose a scooter with an engine with enough power to provide a comfortable ride in urban https://delo.ua/news-companies/yakii-motoblok-krashe-kupiti-ili-poradi-vid-motozilla-401931/ environments, but not too much power to avoid excessive fuel consumption.
    Fuel economy:
    One of the main advantages of scooters is their fuel efficiency. When choosing a scooter, pay attention to its fuel efficiency. Scooters with lower fuel consumption can help you save money on gas and reduce your environmental emissions.
    Convenience and comfort:
    It’s important to choose a scooter that https://osvita.ua/news/87026/ offers comfort and convenience while riding in the city. Pay attention to seat ergonomics, handlebar height, and pedal position. Test out the scooter before you buy to make sure you feel comfortable behind the wheel and can easily reach https://en.interfax.com.ua/news/press-release/771832.html all the controls.
    Safety Systems:
    Safety on the road is of the utmost importance. When choosing a scooter, look for safety systems such as anti-lock brakes (ABS), stability control system (ESC), and high-visibility headlights. These systems will https://en.interfax.com.ua/news/press-release/836934.html help you reduce the risk of accidents and keep you safe on the road.
    Choosing a scooter for urban riding requires attention to several key aspects. Size and compactness, engine power, fuel efficiency, comfort and convenience, and safety systems are all factors to consider when choosing a scooter for city riding. Don’t forget your personal preferences and budget as well. Research various scooter models thoroughly, read reviews and consult a salesperson or expert to make the right choice and enjoy a comfortable and safe city ride on your new scooter.

  14. Hi there! This article couldn’t be written any better! Going through this post reminds me of my previous roommate! He always kept talking about this. I’ll forward this information to him. Pretty sure he will have a good read. Thank you for sharing!

  15. Downregulating MMP1 inhibits tumor growth and induces tam sensitivity in xenografted mice generic cialis online mebendazole acheter augmentin 1g sans ordonnance LONDON, July 24 Reuters Demand for high end smartphoneson long running contracts helped Britain s largest mobileoperator EE and phone retailer Carphone Warehouse topost better than expected results on Wednesday


Please enter your comment!
Please enter your name here