Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-30-2012, 11:09 PM   #1
Samson Jeyraj
LQ Newbie
Registered: Jan 2012
Location: Malaysia
Posts: 2

Rep: Reputation: Disabled
Linux coding

Pls help me on this question
(Linux Programming)

1.Write a program that reads an integer by the user and displays it in octal
(base 8):

Enter an integer number between 0 and 32767: 2012
In octal, your number is: 3734

(Use the same input and output format as given in the example above)

Last edited by Samson Jeyraj; 01-30-2012 at 11:31 PM. Reason: miss some words
Old 01-30-2012, 11:30 PM   #2
Samson Jeyraj
LQ Newbie
Registered: Jan 2012
Location: Malaysia
Posts: 2

Original Poster
Rep: Reputation: Disabled
Please do help me because i need to learn on this question as i need to present the answers tomorow in my linux class
Old 01-30-2012, 11:33 PM   #3
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
And what's your question? All I see is a homework assignment.
Which problem did you run into that you need help with?

Old 01-31-2012, 12:51 AM   #4
Satyaveer Arya
Senior Member
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Have you tried any code? Have you tried on Google, the daddy of search engine? And for which language you want the program?

And please don't ask anyone here to do your homework, please. This is all for your benefit.

Last edited by Satyaveer Arya; 01-31-2012 at 12:54 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
linux coding Question Tordne Linux - Software 5 03-10-2008 11:12 AM
coding linux services bytebrowser Linux - Software 4 01-16-2005 11:56 PM
Need linux coding help iqbal Programming 1 07-21-2004 02:28 PM
Linux coding standard Sean Cleary Programming 5 08-22-2003 01:39 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration