Skip to content

Followed Lab Quiz 2 Instructions #1

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Followed Lab Quiz 2 Instructions #1

wants to merge 1 commit into from

Conversation

Hassan282001
Copy link
Owner

I followed Lab Quiz 2 Instructions and moved the constant declarations of ten, hundred, thousand, million, and billion to the top of the integer class.

…of contant varibales to the top of the integers class
Comment on lines +9 to +14
// Place value constants for billions, millions, thousands, hundreds, and tens
private static final int BILLION = 1_000_000_000; // Constant for billion
private static final int MILLION = 1_000_000; // Constant for million
private static final int THOUSAND = 1_000; // Constant for thousand
private static final int HUNDRED = 100; // Constant for hundred
private static final int TEN = 10; // Constant for ten
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved the constant declarations and added comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant