ITHelpself / CPlusPlus

0 stars 0 forks source link

10. Basic input/output #11

Open ITHelpself opened 3 years ago

ITHelpself commented 3 years ago

#include <iostream>
int main()
{
 int value;
 std::cout << "Enter a value: " << std::endl;
 std::cin >> value;
 std::cout << "The square of entered value is: " << value * value << std::endl;
 return 0;
}