Write pseudocode to prepare a tuition bill. The input will contain the student name, student number, and total number of credits for which the student has enrolled. The bill will contain the student name, student number, and computed tuition. Total credits of 10 or more indicate that the student is on a full-time basis. Full-time students pay a flat rate of $3000.00 for tuition. Total credits of less than 10 indicate that the student enrolled is on a part-time basis. Part-time students pay $300.00 per credit for tuition. Write pseudocode to solve the following problem: Input a person’s name
@craycray100 first of all tell me the programming language you want to use,after which i will you required instruction.
If pseudocode is done right you should be able to apply it to any programming language, right?
@saurav151 As Mandre points out, it says psudocode. You seem to be unfamiliar with the term. Psudocode means fake code. You simply describe what needs to be done. It is like an outline of a story. It is not the story, but it is all the important information in sequence. For example: ``` while x < 5 increment x ``` is perfectly valid in psudocode. That sequence is not how you would write it in any language I know of. However, it describes what needs to be done. That makes it valid. However, you might do something that looks more like a program: ``` while x < 5 x++ ``` That is also perfectly valid psudocode.
@e.mccormicke thanks! for reminding that he needs pseudo code not code. also i know what pseudo code is.i just missed his needs.
@saurav151 if you know pseudocode, please help. i've been struggling with it for the past 3 days. i appreciate it
Like my example shows, psudocode is just a way of describing your solution. It does not need to be real code, but it should get the point across.
Think of it as mainging a working outline. If you can outine how you would do this, that is an answer. What can you come up with from that?
Join our real-time social learning platform and learn together with your friends!