Login


Lost your password?

Don't have an account ?
Register (It's FREE) ×
  


Shop
CPP All : Loop Applications - Handling numerals
Concept Learning Code Sheets

Extracting digits of a number #2104

Loops can be used for extracting the digits one by one by judicious use of  the % and / operators.

Sum of digits of a number #2106

Finding the sum of individual digits in a number

Reverse printing a number using a loop #2115

Printing a number in reverse order of digit by using digit extraction technique in a loop

Extracting and printing the first and last digit of a number #2119

Using a loop technique and successive division by 10 to extract first and last digit of a given number and then printing it.

Find prime factors of a number #3218

Finding prime factors of a number input by the user.



Code Sheets:5 
Back