Open
Conversation
smilehacker-max
commented
Oct 1, 2020
0 || $sum > 9)
{
if ($n == 0)
{
$n = $sum;
$sum = 0;
}
$sum += $n % 10;
$n /= 10;
}
// Return true if
// sum becomes 1.
return ($sum == 1);
}
// Driver code
$n = 1234;
if (isMagic($n))
echo"Magic Number";
else
echo "Not a magic Number";
?>
Add hello world in TypeScript
Here I uploaded a code that will accept postfix expressions and return the final value.
It is a graphical calculator. By this i want to tell that we can do graphical operation easily
Create LICENSE
insertionSort example code added
Add html files
Added an automatic Chrome Dino Game player which uses pyautogui to play the game More info: https://github.com/mokshchaudhary/Dino
Codeforces code solution
Add files via upload
print inverted pyramid
Create Dino_Game_AI.py
Create Lucky_Numbers.py
* html form incluso * calculadora imc
Codeforces code solution
Create 1079 - Medias Ponderadas.java
Create feettoinches.py
Feature/euclidian
Added a program which stores Student's Database.
It converts a decimal number to binary, octal or hexadecimal.
Hangman game implementation in python
String reverse example that use java stream
Add find_max.py
quick sort in C
Code foe Doubly Linked List
Cpp Code to Find the number is Magic or Not
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.