![]() |
|
#1
|
|||
|
|||
PseudocodeHi! everyone
I want to design a method that calculates the cost of a semester’s tuition for a college student at Mid-State University. Variables include whether the student is an in-state resident (“I” for in-state, or “O” for out-of-state) and the number of credit hours for which the student is enrolling. The method should throw an exception if the residency code is invalid. Tuition is $75 per credit hour for in-state students and $125 per credit hour for out-of-state students. If a student enrolls in six hours or fewer, there is an additional $100 surcharge. Any student enrolled in 19 hours or more pays only the rate for 18 credit hours. I need help advice or pseudocode the above.Please help Eager Student Last edited by LuciWiz : 03-Jun-2005 at 00:34.
Reason: shortened title
|
|
#2
|
|||
|
|||
|
Funny, your description is almost already the pseudo-code you are asking.
But here, if it helps you: Code:
|
|
#3
|
|||
|
|||
|
Thank yopu very much
Quote:
|
|
#4
|
||||
|
||||
|
Quote:
__________________
Cow: You're a lawyer too? Mooseblood (mosquito): Ma'am, I was already a bloodsucking parasite. All I needed was a briefcase! |
|
#5
|
|||
|
|||
|
Quote:
One thing though - the original poster seemingly doesn't have any experience in programming so real code syntax could be very difficult to understand. Didn't think of that when I posted so this could be more like it: Code:
|
|
#6
|
|||
|
|||
|
Thank you very much man, I highly appreciate.
Eager Student Quote:
|
|
#7
|
||||
|
||||
|
Quote:
Code:
__________________
Cow: You're a lawyer too? Mooseblood (mosquito): Ma'am, I was already a bloodsucking parasite. All I needed was a briefcase! |
|
#8
|
|||
|
|||
|
Hey man.I have a problem, first I'm student of BSc Computer Science second level measuring with Artificial Intellegence stream in the distance learning Institution, I have no classes for the course I'm self thought everything.My problem is that the lecture the way does her peusodocode is like a syntax, but I do not know, So I just want to look at how she does the pseudocode so that I can learn and practise the way she does, but that can happen if you can give your e-mail address.
Eager Student Quote:
|
|
#9
|
|||||||
|
|||||||
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Second level => 2nd semester? 2nd year? measuring with Artificial Intellegence stream => not a clue. the distance learning Institution => attending school a long way from home? You obviously aren't a native English speaker. Makes this communication stuff a little difficult... But what happened? Your first post was quite understandable? What was different this time? __________________
Cow: You're a lawyer too? Mooseblood (mosquito): Ma'am, I was already a bloodsucking parasite. All I needed was a briefcase! |
|
#10
|
|||
|
|||
|
Hey! woow!
It seems as if you are dropping a line here.I said I'm at the distance learning Institution that means I'm self thought the lecture is only for the Assignment and final examination , Yes no classes only books and study guide that shows how she does pseudocode but in very cryptic way, That is why I wanted to ask you as the experienced programmer that how I can strive to grasp pseudocoding as well the way the lecture does, Looking at you style pseudocode, serious there are no classes here you can have a look on this url http://www.unisa.ac.za . please could you just continue to help me as an eager student to learn? plaese!!!. I need your -email address so that I can show you what I need? Quote:
|
Recent GIDBlog
Last Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The