Numerology based Lucky Number Calculator program in C

Lucky Numbers — Numerology based Lucky Number Calculator
Numerology is the science of numbers. Numerology studies the hidden meaning of numbers and how they affect the personality of people. Numerology identifies a variety of numbers based oninputs.

Lucky number program in php

Some of these numbers are Life Path Number, Bio Rythm, Soul Number, Destiny Number,Inner dream number, Lucky number etc. All these numbers, some way or the other, influence a persons behaviour.

Every birth date has at least eight numerology lucky numbers within it. Some are visible. Some are hidden.

Depending on the birth date, some lucky numbers repeat.The Hidden Lucky Numbers in a Birth Date article talks about birth date lucky numbers and describes the calculations required to reveal them.

This calculator does the calculations for you. Use it to reveal all the numerology lucky
numbers in your birth date.For Example A Person Having Date Of Birth 21st August 1996 In essence ,you add each number in your birth date together until a single digit is achieved.

The method however is very specific.Reduce the month, day, and year to single digits. It is common for some numbers to take multiple reductions. In such cases, repeat the same technique until a single digit or Master Number is achieved.

*.Month: 08 = 0+8= 8
Day: 21= 2+1 = 3 *.
Year:1996= 1+9+9+6 = 25= 2+5 = 7
Next take the resulting three single digits or Master Numbers and add them: 8+3+7 = 18=1+8= 9*

.And so in this example of 21st August 1996 we get a Life Path Number (Lucky Number) is 9.

In short we can add in this way also until we get single digit at the end. 2+1+0+8+1+9+9+6=36=3+6= 9

How Program Works:

Numerology Lucky Number Calculator Made From Simple Coding (‘C’ Language) A number which brings luck and prosperity to you becomes your Lucky Number.

Upto Here We Learn The Uses Of Various Operators..!

This Program Simply Based On Use Of Modulo Operator (\%) Because Whenever We Go Through Certain Task Where We Have To Differentiate Digits From A Single Integer ( Having ≥ 2 digits in it) As The Simplest Method We See How To Calculate Lucky Number We Take 21081996 As A Single Integer By User In Program As Input ( int Data types).

And Separate Each Digits From It Like A Number 123\%10=3 And for second number 123/10=12 (Cause Of Int Data type) Now 12\%10=2 On Further Same Steps Follows Until We Get Single Digit So In this Example We Get Digits Separated like 3,2,1. Thus From This Logic We Develop A Program In ‘C’ Language Having Certain Application In Daily Life For Everybody


#include<stdio.h> int main() { long int n; int d,sum,j,a, c=0;   printf(" Enter your birthdate number "); printf("  in order dd-mm-yy"); scanf("\%Ld",&n); while (n>=1){    d=n\%10;  sum=sum+d;  n=n/10;   } while (sum>=10){  a=sum\%10;  c=c+a;  sum=sum/10;  c=c+sum;  }   if (c>=10)  {   j=c/10;   c=c\%10;  c=c+j;  }     printf(" Your Lucky  Number is \%d",c); return 0; } 

That’s it your program is ready……………Hope you guys like it.

Message For the author

Hope You Guys Try To Develop Certain Programs Which Have Some Interesting Application In Day to Day Life…..

Thank you for reading .

Follow the author on Facebook

Tweet your queries and feedback to @PsychoCodes or leave a message on our Facebook . You can also comment your questions below.

Also, don’t forget to subscribe to our Newsletter at top of this page.

If you like this article, then please share it and help us grow.

Preorder and Postorder Traversal of binary tree in Python
02 September 2018

Binary Tree in Python
02 September 2018

Image Sharpening by High Pass Filter using Python and OpenCV
17 August 2018

Explaining Register variables in C with examples
17 August 2018

C program to generate all combinations of N-Bit Binary String
10 July 2018

Data Autosave System using PHP, MySQL and AJAX
06 July 2018

Понравилась статья? Поделиться с друзьями:
Добавить комментарий