#include <iostream> using namespace std; int Sum(int N,int sum) { if(N<=0) { return sum; } sum=sum+(N%10); int ans =Sum(N/10,sum); return ans; } int main() { int N; cin>>N; int y= Sum(N,0); cout<<y; return 0; }
Thanks to its simple and accessible user experience, Arduino has been used in thousands of different projects and applications. The Arduino software is easy-to-use for beginners, yet flexible enough for advanced users. It runs on Mac, Windows, and Linux.
In this post I am gonna tell you an interesting technique by which you can easily access blocked sites. This post will definitely help you a lot if you wanna access the blocked sites.
In this post I am gonna tell you How To Format Your Pendrive Using CMD. With the increase in technological advancements the use of data transfer medium has also increased.
Comments
Post a Comment