Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Write a C++ Program to Display Number (Entered by the User).

Answer Posted / hr

Solution:
/* C++ Program to Display Number (Entered by the User) */
#include <iostream>
using namespace std;
int main()
{
int number;
cout << "Enter an integer :: ";
cin >> number;
cout << "
The Number entered is :: " << number<<"
";
return 0;
}
Output:
/* C++ Program to Display Number (Entered by the User) */
Enter an integer :: 8
The Number entered is :: 8
Process returned 0

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c++ used anymore?

1047


What is #include iostream?

1199


What does it mean to declare a member variable as static?

1014


What is pass by value & reference.

1057


When is the copy constructor called?

1093


what is the sylabus for priliminaries?

2134


Why do we use classes in c++?

1004


What is the difference between structure and class?

1172


What is expression parser in c++

2430


What is namespace & why it is used in c++?

1048


Are strings mutable in c++?

1098


How many human genes are polymorphic?

1014


What is capacity in vector in c++?

944


What are the four main data types?

1044


Explain what are mutator methods in c++?

1069