Computing for Beginners
Friday, 12 April 2013
C/C++ Program to Truncate Integers
Consider the Integer 12345. The Number can be truncated from both the left side and the right side to get the output shown in the figure. The C/C++ Program given in this post truncates Integers and prints them.
Figure Below Shows a Sample Output
Click here to download the C Program.
Click here to download the C++ Program.
Share to Twitter
Share to Facebook
Share to Pinterest
C PLUS PLUS
Post a Comment
Post Comments (Atom)