Originally posted by Eugene Kononov:
I formatted your code to end everybody's suffering.
When you say no agumetns what do you mean? Are you talking about the consturcuctor or the class?
Alternatively, you can pass the correct number of parameters to the constructor. Of course, that means you need to ask the user for input BEFORE you create the Student object.
I am trying to create a class to prompts the user for the student�s name and Social Security number, and reprompts for just the Social Security number until it receives a string of 9 Once the name and Social Security number have been entered, examScore should be initialized to zero and score already entered should be initialized to false.
Could you elaborate?Remeber I am trying to learn. Are ou saying the code won't do what I am telling?
Originally posted by doco mastadon:
Boy! Did that ever scatter out! I used the advice from this site and changed from tabs to spaces x 4. It sure doesn't look this way on my end. What happened?
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton