Answer:
Make main function
def main():
Make some constants for the grades
A = 5.0 or 4.0
B = 4.0 or 3.0
C = 3.0 or 2.0
D = 2.0 or 1.0
F = 1.0 or 0.0
In the main function call the function you made and make sure to use those constants for help
also don't forget to call your main function or nothing will work
Explanation:
Making the main function is good programming practice for your future
Making the constants is also helpful to your programming.
Now how it works you call the function you wrote to calculate the grade.
I don't know how helpful this was this is one of my first answers. I am `also answering how I would do it
COMPLETE QUESTION:
Which of the following statements is false?
A) A constructor is similar to a method but is called implicitly by the new operator to initialize an object's instance variables at the time the object is created.
B0 Scanner method next reads characters until any white-space character is encountered, then returns the characters as a String.
C)A class instance creation expression begins with keyword new and creates a new object.
D) To call a method of an object, follow the object name with a comma, the method name and a set of parentheses containing the method's arguments.
Answer:
D) To call a method of an object, follow the object name with a comma, the method name and a set of parentheses containing the method's arguments.
Explanation:
To call a method, the name of the object is not followed by a comma (,) but with a dot (.) operator, the method's name and a set of parentheses containing the method's arguments, then follows.
The first one is the most suitable one to use
Resources that programmers sometimes have to refer to and use during planning the logical steps of the solution is the A. PSEUDOCODE
Explanation:
- Pseudocode is an artificial and informal language that helps programmers develop and use algorithms..
- Pseudocode is a detailed yet readable description of what a computer program or algorithm must do that is expressed in a formally-styled natural language rather than in a programming language..
- Pseudocode is sometimes used as a detailed step in the process of developing a program..
- Pseudocode is a text based detail design tool...
- Pseudocode is not a programming language, it is a simple way of describing a set of instructions that does not have to use specific syntax.
- INPUT asks a question; OUTPUT prints a message on screen.