http://www.youtube.com/watch?v=aktLRiWXf
qg
Posted: 4 years ago
Go to class naked, write whatever programming you know on yourself with mustard.
Technically, they can't fail you for that.
Quote
Posted: 4 years ago
mike isn't you programing class an introduction one?
I ask because if it is you should be getting some direction on what kind of programming language to use or how to program shit in general.
Quote
Posted: 4 years ago
You should also be seen in the same vicinity as a computer.
Quote
Posted: 4 years ago
apart from some of the question being a little wrong it's fairly easy. psuedocode is like a semi-english/semi-code listing of things that your program will do, basically so you can go and write the actual code easily in any language after reading it. just like break the problem down into the basic steps and write in english what the steps are, it's pretty free form so unless your teachers are anal and have a 'psuedocode standard' you can write it pretty much however you want.
heres something that could be considered psuedocode for your example
pay_rate = get input from user
hours_worked = get input from user
p_salary_withheld = get input from user
pay_gross = pay_rate * hours_worked
pay_withheld = gross_pay * p_salary_withheld
pay_net = pay_gross - pay_withheld
print "Net Pay = " pay_net
psuedocode is easier, but if you want to draw a flowchart instead i'd suggest you pirate a copy of smartdraw and make your charts in that. you could do them in word or something too but smartdraw is more suited to it. basically flowcharts are like psuedocode in boxes with arrows to what happens next. you need to put statements that are logically the same (all if statements in diamonds for example) in the same type of boxes and there isn't really a set standard unless your teacher says there is. for examples do a google image search for 'psuedocode flowcharts'.
it's all pretty basic stuff, hit me up on aim (internetpowered) if you are still rollin short bus style and need more help.
Quote
Posted: 4 years ago
Thanks for your help man, I just looked at the question and was dumbfounded. I had no idea where to start or anything. Also, yes Ryan it is a intro level course but we just jumped right into that and I was just fucked
Quote
HellenKeller
"can't see shit"
Shithead (Rank 2)
I am taking a course in into computer programing and I am already fucked on the second week
. I was wondering if you could explain to me what program I would use to do this or how the fuck to do it.
Quote
"Draw a flowchart of write pseudocode to represent the logic of a program that allows the user to enter three values. The first value represents hourly pay rate, the second represents the number of hours worked this pay period, and the thirds represents the percentage of gross salary that is withheld. The program multiplies the hourly pay rate by the number of hours worked, giving the gross pay; then, it multiplies the gross pay by the withholding percentage, giving the gross pay; then, it multiplies the gross pay by the withholding percentage, giving the withholding ammount. Finally, it subtracts the withholding amount from the gross pay, giving the net pay after taxes. The program prints the net pay."
Thank you in advance