Skip to content

learningpath2025/Assignment5.4.1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment5.4.1

  • Write a program in C# Sharp to display the individual digits of a given number using recursion.
  • Test Data :
  • Input any number : 1234
  • Expected Output :
    • The digits in the number 1234 are : 1 2 3 4

Hints:

  • Convert int to string and get the length.
  • Get the divisor for given number where Quotient will be the first digit and reminder will be rest of the integer.
  • Print the digit and repeat the process using recursion.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages