LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-14-2005, 03:04 PM   #1
noisewater
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
Question bash shell script question


hello,

i am new to both linux and programming of any kind. i am trying to create a
shell script that will reduce fractions. i have already created scripts
that will add, subtract, multiply, and divide fractions and have integrated
those with the case command to create a menu. but now i am having trouble
trying to figure out an algorithm to integrate into those scripts that will
reduce the fractions. if anyone can offer advice or help on this issue
it'd be greatly appreciated.

noisewater
 
Old 11-14-2005, 03:10 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
This sounds an awful lot like homework, if it is please be aware that LQ.org will not help you with homework or other educational tasks set for you to learn from.
 
Old 11-14-2005, 04:37 PM   #3
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
Quote:
Originally posted by acid_kewpie
if it is please be aware that LQ.org will not help you with homework or other educational tasks
I think help is good, but doing it is another thing.
 
Old 11-14-2005, 08:39 PM   #4
noisewater
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by acid_kewpie
This sounds an awful lot like homework, if it is please be aware that LQ.org will not help you with homework or other educational tasks set for you to learn from.
i have set out to learn linux and shell scripting on my own. i am not enrolled in any courses on the subject. if this could be considered homework then it is self-assigned homework. i bought a book and i am now trying to apply the concepts that i've read about. i am stumped on this one so i would be grateful if someone could at least point me in the right direction.
 
  


Reply



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
Bash shell script moodupani Linux - General 2 09-01-2005 06:14 AM
Bash Shell script bd1308 Linux - Hardware 9 08-22-2005 05:38 PM
bash shell script globeTrotter Linux - Newbie 5 06-03-2004 05:07 AM
bash shell script naka0naka Linux - Newbie 7 05-28-2004 03:06 PM
bash shell script MaryM Linux - Newbie 0 02-15-2002 11:45 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

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
Open Source Consulting | Domain Registration