#include using namespace std; int main() { int x, y=0; x=1123; while (x!=0){ y+=x%10; x/=10; } cout< }
Get the answer
Category: mechanicalengineering |
Author: Sarah Aksinia
Related Questions
#include #include #include using namespace std; class song { public: v
science5 Minutes ago

#include ad libs are activities that have a person provide various wor
ecology7 Minutes ago

#include using namespace std; class inventorytag { public: inventoryta
art12 Minutes ago

Category
geography
Selma Yafa 55 Minutes ago
#include using namespace std; void printfactorial(int factcounter, int factvalue){ int nextcounter; int nextvalue; if (factcounter == 0) { // base cas
womensstudies
Ehud Raghnall 1 Hours ago
#include using namespace std; void swap1(int n1, int n2) { int temp = n1; n1 = n2; n2 = temp; } void swap2(int& n1, int& n2) { int temp = n1;
ecology
Sagi Boris 1 Hours ago
#l2 letter to the editor television and motion pictures have been distorting our view of the legal process for years . generations of children have gr