Skip to content

Assignment_2 Added#1

Open
Naman1109 wants to merge 2 commits intomainfrom
Assignment_2
Open

Assignment_2 Added#1
Naman1109 wants to merge 2 commits intomainfrom
Assignment_2

Conversation

@Naman1109
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown

@yashwantdhakad yashwantdhakad left a comment

Choose a reason for hiding this comment

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

Changes look good added a few minor suggestions.


import java.util.Scanner;

class calculator {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Class name should be in the upper camel case

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

yes sir

class calculator {

void circle() {
System.out.println("Please Enter Radious");
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can you please handle the exception if the number value is not in the correct format?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

ok sir

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.

2 participants