Skip to content
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

1주차 Assignment - 한장수 #5

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 1주차_과제/src/assignments/Test1.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class Cylinder
{
final double PI = 3.14; // 원주율 3.14를 정적 상수 PI로 선언과 동시에 초기화
public static final double PI = 3.14; // 원주율 3.14를 정적 상수 PI로 선언과 동시에 초기화

Choose a reason for hiding this comment

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

넵 잘 수정하셨습니다!! 고생하셨어요~ 과제 통과입니다

int x, y; // 정수형 원의 중심 좌표 x, y를 선언
double r; // 실수형 원의 반지름 r을 선언
int height = 10; // 정수형 원기둥의 높이 변수 height을 10으로 선언과 동시에 초기화
Expand Down