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.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment