Hey guys , I'm just a beginner in C++ programming. I just started couple month ago and I need your help.
I have this project for school and It would be amazing If you guys help me.
I know what the program does but I can not expain It In a professional way.
The homework is to explain what the code does:
[
#include <iostream>
int main()
{
int x, Z1, Z2, Z3, y;
std::cout << "Enter a three-digit number (between 100 and 999)";
std::cin >> x;
Z1 = x / 100;
Z2 = (x / 10) % 10;
Z3 = x % 10;
y = Z1 + Z2 + Z3;