Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Test NMK10603 C Chegg - Get 24/7 Homework Hex WhatsApp 0 f c classroom.google.com/c/NDE1MzQxNDKONTU3/a/NDUwMTk5MzI5NDM4/details NMK10603_Test.pdf Open with E Test NM Question 2 (Soalan 21 Assigned

image text in transcribed

Test NMK10603 C Chegg - Get 24/7 Homework Hex WhatsApp 0 f c classroom.google.com/c/NDE1MzQxNDKONTU3/a/NDUwMTk5MzI5NDM4/details NMK10603_Test.pdf Open with E Test NM Question 2 (Soalan 21 Assigned HUSNA JAMAL AL 100 points dd or create (C4, CO2, PO2) Figure 1 shows the sample output of C program to determine the BMI and category of each student. This program will accept the matric number, weight, and height of each student. Table 1 shows the category given to the student based on the BMI value. Based on the given function prototypes in the incomplete source code shown in Figure 2, complete this program by considering the following aspects: [Rajah 1 menunjukkan sampel paparan program untuk menentukan BMI dan kategori setiap pelajar. Program ini akan menerima nombor matrik, berat dan tinggi setiap pelajar. Jadual 1 menunjukkan kategori yang diberi kepada pelajar berdasarkan nilai BMI yang dikira. Berdasarkan prototaip fungsi yang diberi didalam sumber kod yang tidak lengkap di Rajah 2, selesaikan program dengan mengambil kira perkara berikut: Please join the God Kas Done Answer ALL the cu and word file to G nments Format: (TESTNMK10603 (TESTNMK10603 BMI = weight/ (height) [BMI = berat +(tinggi)] nt to HUSNA JAMAL DUL NASIR Table 1 Jadual 1) Duration: 1 hour BMI Below 18.5 18.5-24.9 25.0 and above Category U N 0 9 Class comm Insert Matrix No. of the student : 1212 Insert weight = 50 Insert height = 1.6 Add a class com Page 3 5 + Matrix No. : 12 BMI = 19.53 Category = N 9 Type here to search J' 25C Mostly clear JENG 8:42 PM 27/12/2021

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions