The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
writing math testing program ccp Shell Programming and Scripting 5 04-30-2008 10:17 PM
Having trouble writing a basic shell program SeanWuzHere Shell Programming and Scripting 3 11-30-2006 10:41 AM
Need help on a program I'm writing dmosheye Shell Programming and Scripting 2 09-21-2006 12:39 PM
writing a program carlvernon UNIX for Dummies Questions & Answers 3 06-01-2006 12:47 PM
I'm writing a new Linux program! Danny_10 What's on Your Mind? 11 10-03-2004 07:09 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-07-2008
Registered User
 

Join Date: Sep 2008
Posts: 1
Problem with writing a program

Hi guys
I'm having trouble with trying to create a script which calculates the grade of a student and the marks out of 300.
The grades are:
0-49% fail
50-59% pass
60-69% credit pass
70-79% distinction
80-100% high distinction
less than 0 or greater than 100 displays error message.

My problem is i don't know how to change the 300 into percentage form.

Here is my script that i have already made.



P.S Andrew
Forum Sponsor
  #2  
Old 09-07-2008
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,298
Do not post classwork/homework on the forums.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:09 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0