Lakhankumawat / LearnCPP

Learn Cpp from Beginner to Advanced ✅ Practice 🎯 Code 💻 Repeat 🔁 One step solution for c++ beginners and cp enthusiasts.
https://lakhankumawat.github.io/LearnCPP/
MIT License
642 stars 490 forks source link

Krishnamurthy number check added #1495

Closed Kunal0220 closed 2 years ago

Kunal0220 commented 2 years ago

Related Issue

Proposed Changes

Additional Info

Checklists

A Mathematical algorithm to check whether a number is a Krishnamurthy number or not .

It takes input from the user and does some computations to give an output.

1472

I have taken two inputs , one as a Krishnamurthy number and the other as non-Krishnamurthy number and checked that the code is running fine or not.

I ran this on online GDB compiler.

Output Screenshots

Screenshot #1 Screenshot #2
Krishnamurthy number non-Krishnamurthy number
Screenshot 2022-05-19 at 6 05 07 PM Screenshot 2022-05-19 at 6 05 28 PM
github-actions[bot] commented 2 years ago

We do not accept PRs. If you have any questions, please feel free to contact us.