السلام عليكم
ها هو الكود
#include <iostream.h>
void main()
{
int ThreeDigitNumber, FirstDigit,FirstReminder,SecondDigit,ThirdDigit;
cout << "Type a 3 digit number:";
cin >> ThreeDigitNumber;
FirstDigit = ThreeDigitNumber/100;
cout << "First Digit " << FirstDigit <<"\n";
FirstReminder = ThreeDigitNumber%100;
SecondDigit = FirstReminder/10;
ThirdDigit = FirstReminder%10;
cout<< "Second Digit " << SecondDigit<< "\n";
cout << "Third Digit " << ThirdDigit << "\n";
}
لو فى حاجة ما فهمتهاش قولى وانا اوضحها