앱 개발 개념

사전캠프 3일차 / 앱 개발 개념 과제 (변수와 데이터 타입)

breadbro 2025. 2. 12. 17:58

void main(){
  int age = 30;
  double height = 170.5;
  String name = "고영재";
  bool isStudent = true;
  
  print("이름: $name");
    print("나이: $age");
    print("키: $height");
    print("학생인가요: $isStudent");
  
}

 

void main (){
  int a = 1;
  int b = 2;
  print (a+b);
}