C Program to Find Smallest and Largest Integer Among 5 Integer Values Using Array

November 13, 2010

↑ Vote This Article

C Program to Find Smallest and Largest Integer Among 5 Integer Values Using Array Read the rest of this entry »

C Program for Base Conversion from Binary to Decimal

November 13, 2010

↑ Vote This Article

The binary (base twonumeral system has two possible values, often represented as 0 or 1, for each place-value. In contrast, the decimal (base tennumeral 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”. Read the rest of this entry »

C Program to Convert Digits to its Equivalent Words

November 13, 2010

↑ Vote This Article

the program work till 4 digits of number

suppose the Input is: 1234

then the Output will be:  OneTwoThreeFour Read the rest of this entry »

C Program to Print HELLO WORLD Without Using Semicolon

November 11, 2010

↑ Vote This Article

After Program to Print HELLO without HELLO , here is another program to print HELLO WORLD Without Using Semicolon (;).

To see the output:  compile the code by Ctrl+F9 and then run it by  Alt+F5 Read the rest of this entry »

C++ Program to Convert Digits to its Equivalent Words

November 6, 2010

↑ Vote This Article

Here is another tricky code, where we can Convert Digits to its Equivalent Words.

the program work till 5 digits of number

suppose the Input is: 12345

then the Output will be:  OneTwoThreeFourFive Read the rest of this entry »

C Program for Multiplication without Using Multiply Operator *

November 3, 2010

↑ 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. Read the rest of this entry »

Program for Calender

November 2, 2010

↑ Vote this Article

here is a c++ program for calender. where u can find any date up to year 32500 ..

copy this code and save it as calender.cpp.. Read the rest of this entry »

C Program to Print HELLO without HELLO

October 31, 2010

↑ 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. Read the rest of this entry »

Selecting Your First Programming Language

October 29, 2010

 

SOURCE: http://cyberarmy.in [Indian Cyber Army (ICA)]

This article is retrieved from cyberarmy.in [Indian Cyber Army]. This is my friend’s website, which is all about security.

The article is all about Various Programming Languages. If you are stuck wondering where to start in your programming adventure this is the article for you.

Let’s Start ….

Deciding what your needs are

Many times on forums and in chat rooms I hear the same question over and over. “What programming language should I learn?” but the answer is different for every person. However there are some common questions you can ask yourself to figure out a good starting point. Read the rest of this entry »

C Program for Base Conversion from Decimal to Binary

October 27, 2010

The decimal (base tennumeral system has ten possible values (0,1,2,3,4,5,6,7,8, or 9) for each place-value. In contrast, the binary (base twonumeral system has two possible values, often represented as 0 or 1, for each place-value

the base of each individual number may be specified by writing it as a subscript of the number. For example, the decimal number 156 may be written as 15610 and read as “one hundred fifty-six, base ten”. The binary conversion of 156 is 10011100 may be specified as “base two” by writing it as 100111002. Read the rest of this entry »