# data[].attributes.headline
SILA LAMPIRKAN SLIDE PEMBENTANGAN ANDA DI SINI

# data[].attributes.subject
SILA LAMPIRKAN SLIDE PEMBENTANGAN ANDA DI SINI

# data[].attributes.attachment_link.title
Group Zarif - Presentation (16:9) by MUHAMMAD ABID BIN MOHD SOFFEE Moe

# data[].attributes.body
https://www.onlinegdb.com/8LOyW86tr

# data[].attributes.attachment_link.title
GDB online Debugger | Code, Compile, Run, Debug online C, C++

# data[].attributes.attachment_link.description
Online GDB is online ide with compiler and debugger for C/C++. Code, Compiler, Run, Debug Share code nippets.

# data[].attributes.headline
SILA LAMPIRKAN PEMBENTANGAN SLIDE PEMBENTANGAN ANDA DISINI

# data[].attributes.subject
SILA LAMPIRKAN PEMBENTANGAN SLIDE PEMBENTANGAN ANDA DISINI

# data[].attributes.attachment_link.readable_text
print ("                   Hai,Selamat Datang                       ")
print ("Ini adalah sistem untuk Mengira Keperluan Kalori Harian anda")
print ("************************************************************")
umur = berat = tinggi = 0.0
umur = int(input("\nMasukkan umur anda(nombor sahaja): "))
Print = umur
if umur < 13 or umur > 17:
    print ("Maaf. sistem ini hanya untuk individu yang berumur 13 hingga 17 tahun sahaja")
else :
    berat = float(input("Masukkan berat anda (kg)(nombor sahaja): "))
    tinggi = float(input("Masukkan tinggi anda (cm)(nombor sahaja) : "))
    
    while berat <= 0 or tinggi <= 0:
        print ("Input tidak sah. Sila masukkan nombor positif sahaja")
        berat = float(input("Masukkan berat anda (kg)(nombor sahaja): "))
        tinggi = float(input("Masukkan tinggi anda (cm)(nombor sahaja) : "))

    jantina = str(input("jantina (huruf kecil sahaja): "))
    if jantina == "lelaki" :
        bmr = float(66 + (13.7 * berat) + (5 * tinggi) - (6.8 * umur))
    elif jantina == "perempuan" :
        bmr = float(655 + (9.6 * berat) + (1.8 * tinggi) - (4.7 * umur))
    print ("BMR = ", bmr)
        
    print ("\nA = Bersenam 2 kali sehari")
    print ("B = Bersenam 6-7 hari")
    print ("C = Bersenam 3-5 hari")
    print ("D = Bersenam 1-3 hari")
    print ("E = Bersenam sedikit atau tidak bersenam langsung")
    bersenam = str(input("\nMasukkan kekerapan aktiviti senaman: "))
    
    while bersenam != "A" and bersenam != "B" and bersenam != "C" and bersenam != "D" and bersenam != "E" :
        print ("Input tidak sah. Sila masukkan salah satu huruf di atas sahaja")
        bersenam = str(input("\nMasukkan kekerapan aktiviti senaman: "))
        
    if bersenam == "A" :
        dcr = bmr * 1.9
    elif bersenam == "B" :
        dcr = bmr * 1.725
    elif bersenam == "C" :
        dcr = bmr * 1.55
    elif bersenam == "D" :
        dcr = bmr * 1.375
    elif bersenam == "E" :
        dcr = bmr * 1.2
        
    FormattedAmmount = ("DCR = " + format (dcr, ".2f") + " kalori sehari")
    print (FormattedAmmount)
    print ("\n<Terima kasih kerana menggunakan sistem kami>")
                                     

# data[].attributes.headline
SILA LAMPIRKAN SLIDE PEMBENTANGAN ANDA DISINI

# data[].attributes.subject
SILA LAMPIRKAN SLIDE PEMBENTANGAN ANDA DISINI

# data[].attributes.body
https://onlinegdb.com/D577GNmDd

# data[].attributes.attachment_link.title
GDB online Debugger | Code, Compile, Run, Debug online C, C++

# data[].attributes.attachment_link.description
Online GDB is online ide with compiler and debugger for C/C++. Code, Compiler, Run, Debug Share code nippets.

# data[].attributes.headline
SILA LAMPIRKAN PEMBENTANGAN SLIDE PEMBENTANGAN ANDA DI SINI

# data[].attributes.subject
SILA LAMPIRKAN PEMBENTANGAN SLIDE PEMBENTANGAN ANDA DI SINI

# data[].attributes.body
https://onlinegdb.com/sTH_GARhX

# data[].attributes.attachment_link.title
GDB online Debugger | Code, Compile, Run, Debug online C, C++

# data[].attributes.attachment_link.description
Online GDB is online ide with compiler and debugger for C/C++. Code, Compiler, Run, Debug Share code nippets.

# data[].attributes.headline
SILA LAMPIRKAN SLIDE PEMBENTANGAN ANDA DISINI

# data[].attributes.subject
SILA LAMPIRKAN SLIDE PEMBENTANGAN ANDA DISINI

# data[].attributes.body
https://www.canva.com/design/DAEhQF3CP0U/Udjc8BVxFt52sShCk_ofDw/view?utm_content=DAEhQF3CP0U&utm_campaign=designshare&utm_medium=link&utm_source=sharebutton

# data[].attributes.attachment_link.title
PROJECT ASK - Presentation (16:9) by izzatimelissa

# data[].attributes.body
https://onlinegdb.com/EYr8vQKxB

# data[].attributes.attachment_link.title
GDB online Debugger | Code, Compile, Run, Debug online C, C++

# data[].attributes.attachment_link.description
Online GDB is online ide with compiler and debugger for C/C++. Code, Compiler, Run, Debug Share code nippets.