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

What is a class in oop?

1134


What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.

1067


Discuss the role of C++ shorthands.

977


Is c++ map a hash table?

1028


What is a class template in c++?

1054


What is java and c++?

1173


Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].

1065


Why are arrays usually processed with for loop?

1237


Is c++ vector dynamic?

1126


What is the meaning of the following declaration: int *const *const *i?

1001


What is abstraction with real time example?

1152


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

1059


Are php strings immutable?

1053


What c++ library is string in?

1058


Differentiate between C and C++.

1253