C++ homework help

i dont understand how to do this at all i dont know anything about c++ programing and this is due sunday can someone help me to complete and understand this hw so i can have a basis for future hw

[code]
C++

Homework:

1. Write a program that allows you to enter a series of grades for a class.  Use a grade of -1 as the sentinel (stop value).  Output the average grade and the number of students.
2. Write a program that inputs three numbers.  Display the numbers in order from lowest to highest.
3. Using a nested for() loop, write a program that prints out the following pattern. Each output statement must be cout << “*”;
*
* *
* * *
* * * *

4. Write a program using a for() loop that produces a conversion table from Fahrenheit to Celsius for temperatures ranging from 0 to 100 degrees Fahrenheit.
I can help, here's my advise. Start coding, stop procrastinating. you'll never learn anything if someone does it for you.
Last edited on
its not that i'm procrastinating i don't have a book because my family doesn't have the money to afford it at the moment, and i show up to the optional class meetings every week to try to understand whats going on which don't really help me in the slightest, the only thing i have to go off of is the Internet and most of the information that is provided to me covers the topic but not in a way that would help me solve the problem related to what my teacher is asking me, ll im asking for is help trying to understand whats going on in my class so i don't fail and have a basis to go off of so i "CAN" do it myself instead of going off of completely nothing...
Assuming it's due Sunday at midnight, you still have time.
Can you input a series of numbers until you find a -1? Show us.
@ jpadilla,

Taking classes without the textbook is risky. I will be honest with you, your course will become harder really quick and the tutorial will not help as much as you think. Since you are working on loops, I assume that you know how to write a simple C++ code (i.e. using objects such as cin and cout). Telling us that you don't know anything, it doesn't help at all; furthermore, it doesn't impress anyone. Work on the homework and post what you have.

PS: When I take courses, I make sure I have the materials for the course (i.e. textbook, calculator, etc.), If I can't afford it, then I wait until I get the book so can to take the course.
Last edited on
Topic archived. No new replies allowed.