-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feedback #1
base: feedback
Are you sure you want to change the base?
Feedback #1
Conversation
Integer MILLISECONDS_PER_MINUTE = null; // Make this value a constant | ||
Integer milliseconds; | ||
return null; // Replace null with the variable you used to store the result | ||
Integer MILLISECONDS_PER_MINUTE = 60000; |
Check failure
Code scanning / PMD
Configurable naming conventions for local variable declarations. This rule reports variable declarations which do not match the regex that applies to their specific kind (e.g. local variable, or final local variable). Each regex can be configured through properties. By default this rule uses the standard Apex naming convention (Camel case). Error
…d from Double to Decimal.
…. Made return of if statement weeklyPaycheck/monthlyPaycheck. Stored number of weeks as a final variable.
@@ -291,8 +386,26 @@ | |||
* @return A Decimal representing the monthly paycheck. | |||
*/ | |||
public static Decimal calculateMonthlyPaycheck(Decimal hourlyRate, Double numberOfHours) { | |||
return null; // Replace null with the variable you used to store the result | |||
final Integer NUMBER_OF_WEEKLY_PAYCHECKS = 4; |
Check failure
Code scanning / PMD
Configurable naming conventions for local variable declarations. This rule reports variable declarations which do not match the regex that applies to their specific kind (e.g. local variable, or final local variable). Each regex can be configured through properties. By default this rule uses the standard Apex naming convention (Camel case). Error
👋! GitHub Classroom created this pull request as a place for your teacher to leave feedback on your work. It will update automatically. Don’t close or merge this pull request, unless you’re instructed to do so by your teacher.
In this pull request, your teacher can leave comments and feedback on your code. Click the Subscribe button to be notified if that happens.
Click the Files changed or Commits tab to see all of the changes pushed to the default branch since the assignment started. Your teacher can see this too.
Notes for teachers
Use this PR to leave feedback. Here are some tips:
For more information about this pull request, read “Leaving assignment feedback in GitHub”.
Subscribed: @lindsgiles22