Top 10% contributor
I add a while above of the first line of my code, but it doesn't work as I want. The below is the code for first part. The first...
Answered 2 years ago
I don't know how to do it. Can someone give an example to make my dump head understand how to do it? Thanks.
gender = input('Is the person a female or male? Enter F or M: ','s');
while (gender ~= 'F' || gender ~= 'f' || gender ~...
how about Enter F or M for gender.
while gender is not equal to F || gender is not equal to M
what is the notation for that?...
Prompt the user to enter a value for height in inches (59-78) and weight in pounds (90-350). I don't know what I can't do that. ...
Asked 2 years ago
the target weight for target bmiw. I don't know why I got the wrong pound. It should be 184.3 pounds for bmi=25, but i got 165 p...
I have a maxtrix 61*5 how can I find which year has the maximum value and do some stuff in this hard assigment. Thanks first. th...
2 years ago
The table is
# # # # #
The first is year.then ace,......
How to find and display the mean of secon...
Prompt the user to enter a value for height in inches (59-78). Enter zero to end.
While height not equal to zero process BMI ...
what is the difference between sort and sortrow? Thanks
The requirement of this assignment is to calculate the Ideal Body Weight (IBW). The following equations are used to compute the ...
fprintf('that will be $ %5.2f ....)
I know .2 mean 2 decimal place, but what is 5 mean here. Thanks.
Underweight: BMI is less than 18.5
Normal weight: BMI is 18.5 to 24.9
Overweight: BMI is 25 to 29.9
Obese: BMI is 30 or more
assignment is here: <http://www.mediafire.com/view/?vxusaduasijdpdp>
the table is at the end of those slide. Its title is Atlan...
Is the person a female or male? Enter F or M: x
It should be like this
Is the person a female or male? Enter F or M: f
Join the conversation