LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-31-2012, 12:09 AM   #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-31-2012 at 12:31 AM. Reason: miss some words
 
Old 01-31-2012, 12:30 AM   #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-31-2012, 12:33 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
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?


Cheers,
Tink
 
Old 01-31-2012, 01: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 01:54 AM.
 
  


Reply


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 12:12 PM
coding linux services bytebrowser Linux - Software 4 01-17-2005 12:56 AM
Need linux coding help iqbal Programming 1 07-21-2004 03:28 PM
Linux coding standard Sean Cleary Programming 5 08-22-2003 02:39 PM


All times are GMT -5. The time now is 11:12 AM.

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