Compare commits

..

2 Commits

2 changed files with 27 additions and 6 deletions

View File

@ -1,10 +1,24 @@
Kalkulator BMI Kalkulator BMI
=============== ===============
Silahkan kembangkan aplikasi ini untuk melakukan perhitungan BMI Dimas Hendri Pamungkas (202310715274) F5A5 Mobile Programming
Petunjuk lebih detil dapat dibaca di Petunjuk lebih detil dapat dibaca di https://docs.google.com/document/d/1iGiC0Bg3Bdcd2Maq45TYkCDUkZ5Ql51E/edit?rtpof=true
https://docs.google.com/document/d/1iGiC0Bg3Bdcd2Maq45TYkCDUkZ5Ql51E/edit?rtpof=true
Starter dimodifikasi dan terinspirasi dari: Starter dimodifikasi dan terinspirasi dari: https://developer.android.com/codelabs/basic-android-compose-calculate-tip#0
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

View File

@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * 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 * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * 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 * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
/*
UTS - BMI Calculator Project
Nama : Dimas Hendri Pamungkas
NPM : 202310715274
Kelas : F5A5
*/
package com.example.tiptime package com.example.tiptime
import android.os.Bundle import android.os.Bundle