↑ Vote This Article
C Program to Find Smallest and Largest Integer Among 5 Integer Values Using Array (more…)
↑ Vote This Article
C Program to Find Smallest and Largest Integer Among 5 Integer Values Using Array (more…)
↑ Vote This Article
The binary (base two) numeral system has two possible values, often represented as 0 or 1, for each place-value. In contrast, the decimal (base ten) numeral system has ten possible values (0,1,2,3,4,5,6,7,8, or 9) for each place-value.
To avoid confusion while using different numeral systems, the base of each individual number may be specified by writing it as a subscript of the number. For example, the binary number 10011100 may be specified as “base two” by writing it as 100111002. The decimal number 156 may be written as 15610 and read as “one hundred fifty-six, base ten”. (more…)
↑ Vote This Article
the program work till 4 digits of number
suppose the Input is: 1234
then the Output will be: OneTwoThreeFour (more…)
↑ Vote This Article
Here is another program from the series tricky code. Here I am going to show you how we can do Multiplication without using Multiply Operator *. Programs like this you will rarely get anywhere else.
Comment below to express your feeling and suggest me new idea for more tricky code.
Logic of the code:
First you give a try to think the logic.
Here is the answer,
Let a and b are two variables then c=axb. We take 9 as a and 8 as b then c=72.
In other word we are adding 9, 8 times or adding 9, 8 times, so simple logic. This is what I converted into programing. (more…)
↑ vote this article
Here is i am starting a new series of programs, where we will do coding in a tricky way..
Here we are going to print HELLO without using any of the later from the HELLO, anywhere in the programing. Just think before proceeding further how we can do this..
Well here is the answer; here we are using ASCII CODE of the character to print HELLO. (more…)
To convert Alphabet to Upper or Lower case we need to change the ASCII code of the Alphabet.
ASCII code can be define as the code of a character i.e. integer value of the character.
The codes from 65 to 90 are Uppercase Alphabet, which are A to Z. where A is 65 & so on.
And the codes from 97 to 122 are Lowercase Alphabet, which are a to z. where a is 92 & so on.
Here A is 65 and a is 97, the difference between two is 32. So if I want to convert A to a. I’ll add +32 to the ASCII code, which is converting 65 to 92. Opposite we’ll do to convert a to A which is -32. And this is same for all alphabets, so now you got the logic. (more…)
2 3 4 5 6
}
———————————————————————————————————————————————————————————–
Guys I need your view, suggestions, comments for mycfiles..
Just write me if you want any program, you want help in any topic. i would love to post your experience about programing so share them with me..
mycfiles is coming with lot of new things, so stay tuned…
Just give your email id below and subscribe for mycfiles, whenever I deliver any new post you will get notifications on your Email…
Subscribe to my C files by Email
———————————————————————————————————————————————————————————–
Inversing of a given Number. suppose we gave input 123456 then the output of the program will be 654321.