Tutorial by Examples

#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; }

Page 1 of 1