السسلام عليكم ورحمة الله
امممم بكرا عندي اختبار برمجه
وفي هذا السؤال ماعرفت له
ياليت أحد يساعدني ويشرح لي طريقه كتابته ككود
Write a program that reads an integer between 0 and 1000 and adds all the digits in the integer. For example, if an integer is 932, the sum of all its digits is 14.
وشكررااا