} #include #include using namespace std; void print(int n){ int a=n; while(n >= 10) n/=10; cout<

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

} #include #include using namespace std; void print(int n){ int a=n; while(n >= 10) n/=10; cout<

Post by answerhappygod »

Include Iostream Include Cmath Using Namespace Std Void Print Int N Int A N While N 10 N 10 Cout N C 1
Include Iostream Include Cmath Using Namespace Std Void Print Int N Int A N While N 10 N 10 Cout N C 1 (41.51 KiB) Viewed 18 times
Include Iostream Include Cmath Using Namespace Std Void Print Int N Int A N While N 10 N 10 Cout N C 2
Include Iostream Include Cmath Using Namespace Std Void Print Int N Int A N While N 10 N 10 Cout N C 2 (41.51 KiB) Viewed 18 times
Include Iostream Include Cmath Using Namespace Std Void Print Int N Int A N While N 10 N 10 Cout N C 3
Include Iostream Include Cmath Using Namespace Std Void Print Int N Int A N While N 10 N 10 Cout N C 3 (41.51 KiB) Viewed 18 times
} #include <iostream> #include <cmath> using namespace std; void print(int n){ int a=n; while(n >= 10) n/=10; cout<<n; cout<<a%10; } int main(){ print(253); return 0;
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply