diff --git a/README.md b/README.md index 08d4aa4..d3f744d 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,24 @@ Kalkulator BMI =============== -Silahkan kembangkan aplikasi ini untuk melakukan perhitungan BMI +Dimas Hendri Pamungkas (202310715274) F5A5 Mobile Programming -Petunjuk lebih detil dapat dibaca di -https://docs.google.com/document/d/1iGiC0Bg3Bdcd2Maq45TYkCDUkZ5Ql51E/edit?rtpof=true +Petunjuk lebih detil dapat dibaca di https://docs.google.com/document/d/1iGiC0Bg3Bdcd2Maq45TYkCDUkZ5Ql51E/edit?rtpof=true -Starter dimodifikasi dan terinspirasi dari: -https://developer.android.com/codelabs/basic-android-compose-calculate-tip#0 \ No newline at end of file +Starter dimodifikasi dan terinspirasi dari: https://developer.android.com/codelabs/basic-android-compose-calculate-tip#0 + +Referensi: + +kotlin.math +Calculate the Power of a Number in Kotlin +Centimeters to Inches +Kilograms to Pound +Unit Testing +Dibantu oleh Gemini dan ChatGPT : + +Mengubah NaN yang muncul di tampilan menjadi 0, sebelum kalkulasi. +Membuat Format Angka Desimal (1 angka dibelakang koma) +Membuat Perhitungan sesuai dengan Standar Rumus BMI yang Diinginkan (USC atau SI) +Membuat LaunchedEffect untuk Reset Nilai Input Ketika Berpindah Standar Rumus BMI +Mengubah Condition Statement untuk Penentuan Kategori BMI agar lebih Clean +Mengubah tampilan latar belakang \ No newline at end of file diff --git a/app/src/main/java/com/example/tiptime/MainActivity.kt b/app/src/main/java/com/example/tiptime/MainActivity.kt index b2c3711..11782b4 100644 --- a/app/src/main/java/com/example/tiptime/MainActivity.kt +++ b/app/src/main/java/com/example/tiptime/MainActivity.kt @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * https://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +/* +UTS - BMI Calculator Project +Nama : Dimas Hendri Pamungkas +NPM : 202310715274 +Kelas : F5A5 + */ package com.example.tiptime import android.os.Bundle