Compare commits

..

No commits in common. "877b6e75a5fd3db76b8208bf9edcc186f3d34ee3" and "8522ddc9ef0f4b586cad40c6c1817f23e1a82db0" have entirely different histories.

2 changed files with 6 additions and 27 deletions

View File

@ -1,24 +1,10 @@
Kalkulator BMI Kalkulator BMI
=============== ===============
Dimas Hendri Pamungkas (202310715274) F5A5 Mobile Programming Silahkan kembangkan aplikasi ini untuk melakukan perhitungan BMI
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 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

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,13 +13,6 @@
* 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