Showing posts with label Special Codes. Show all posts
Showing posts with label Special Codes. Show all posts

February 15, 2011

C Program To Print Square Of Stars


C Program To Print Square Of Stars
Output will be like:

***
*  *
***

February 5, 2011

C Program to Round Up a Number


This program is shared by Krunal Panchal, thanks for your contributions. Feel free to submit your program's to be posted on my c files.

This is a program for rounding up and down float values in c

For e.g if you have got float value of 8.5 then it is converted in to 9 and when you have got float value of 8.4 then it would be converted into 8.
Same way for any float value it could be converted to round up value into an integer.

C Program to Print HELLO WORLD Without Using Semicolon


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

C++ Program to Convert Digits to its Equivalent Words


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

February 4, 2011

C Program To Print Pyramid of Numbers

To print output like
1
2  3
4  5  6
7  8  9  1
2  3  4  5  6

C Program To print pyramid output


To Print Output like
*
**
***
****
*****
******

Twitter Delicious Facebook Digg Stumbleupon Favorites More