Help im so lost!!!
OMG. Im taking a class, and Im so beyond lost here. I have to make a pattern that looks like this:
as well as write a program in which I have declared variables that will hold an hourly wage, a number of hours worked and a withholding percentage. I have to prompt the users to enter values for each of these fields. I must then compute and display net weekly pay, which is calculated as hours times rate, minus the percentage of the gross pay that is withholding. After reading the 2 chapters in the book for this I was able to open a compiler, and enter a bunch of text that I dont understand, and didnt work! I do NOT want the answers outright. I need help to learn how to do it, and why its done that way. Please, Im desperate!
Im sorry, the pattern must be lined up so that it makes a "diamond"
Perhaps start reading C++ Tutorial - Learn C++ - Cprogramming.com
> Im sorry, the pattern must be lined up so that it makes a "diamond"
I fixed it (perhaps).
Draw it out on paper - preferably gridded paper with either a single space of * per grid box.
What you're trying to do is discover a relationship between
- the row number
- the number of spaces
- the number of stars
> OMG. Im taking a class, and Im so beyond lost here.
It's called raising your hand and asking questions.
Im having a hard time figuring out all the symbols, and what they mean. I guess I started this class thinking that I would catch on really easy like I did the website design. But its just not happening.
OH, and just to clarify. this is an online class, and I have emailed the instructor. He has not gotten back to me yet.
Originally Posted by Salem
Call or stop by the Instructors room to ask for help in the real world.
Originally Posted by wendy8882
I have had instructors get weeks behind in reading their emails.
I would wait at least one day before calling.
And, find out his/her office hours before visiting.
I cant visit his office. They are located in a different stated. The class is compiled of students from all of the colleges of this group from around the region.
> OH, and just to clarify. this is an online class, and I have emailed the instructor. He has not gotten back to me yet.
And the rest of what I suggested (you know, you doing some work), drawing the shape out on graph paper (or even a hand-drawn grid).
All non-trivial programs begin with a lot of paper work (of all kinds) to help you figure out what is really needed.
> I guess I started this class thinking that I would catch on really easy like I did the website design. But its just not happening.
Perhaps you should drop the course then. Programming isn't for everyone, and if you just picked the course on a whim (and not a burning desire), then it really isn't for you.