
Explanation: Step 1: First we need to take the input from the user. Step 2: Next we need to take the for loop and iterate till i<=10 so that it can calculate up to 10. Step 3: we need to start iterating from i=1 and keep on iterating until input numb...
Go with the flow
IIIT - N Software Geek. Startup Enthusiast. Build for the Future.
Markdown supported · ⌘↵ to post
Mad
nice