100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
INP1501 ASSIGNMENT 2 SEMESTER 2 2022 R200,00   Add to cart

Other

INP1501 ASSIGNMENT 2 SEMESTER 2 2022

 29 views  0 purchase

UNISA INP1501 ASSIGNMENT 2 SEMESTER 2 2022. 100 % GUARANTEED.THIS DOCUMENT CONTIANS SOLUTIONS WITH CLEAR AND DETAILED EXPLANATIONS ,DIAGRAMS AND ILLUSTRATIONS FOR UNDERSTANDING PURPOSES.STEP BY STEP SOLUTIONS. 100 % GUARANTEED

Preview 2 out of 10  pages

  • September 6, 2022
  • 10
  • 2022/2023
  • Other
  • Unknown
All documents for this subject (13)
avatar-seller
tshepotebogo44
ABSTRACT
Welcome to Great Minds Tuition Club!!!!Extra
classes done right, explaining the WHY in order
to properly understand the HOW.FOR MORE
ASSIGNMENT SOLUTIONS 0613610251

INP1501
greatmindtuition@gmail.com




INP1501 ASSIGNMENT 2 SEMESTER 2 2022
DUE DATE:15 SEPTEMBER 2022

, GREAT MINDS TUITION CLUB INP1501 ASSIGNMENT 2 SEMESTER 2 2022 SEPTEMBER 2022


Question 1

#include <iostream>

using namespace std;

void getData(float& height, float& weight)
{
cout<<"Enter height: ";
cin>>height;

cout<<"Enter weight: ";
cin>>weight;

}

float calcBMI(float height, float weight)
{
float bmi =(float) weight/(float)(height*height);

return bmi;
}

void displayFitnessResults(float bmi)
{
if(bmi>=30)
{
cout<<"Obese";
}
else if(bmi>=25)
{
cout<<"Overweight";
}
else if(bmi>=18.5)
{
cout<<"Healthy";
}
else
{
cout<<"Underweight";
}
}

int main()
{
float height, weight;


1|Page

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through EFT, credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying this summary from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller tshepotebogo44. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy this summary for R200,00. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

72042 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy summaries for 14 years now

Start selling
R200,00
  • (0)
  Buy now