السلام عليكم ورحمة الله وبركاته
اخواني الاحبة
انا أخ لكم بينكم مبرمج جديد
يعني ما صارلي بالقصر من مبارح العصر
عندي طلب
بدي كود جافا سكريبت يقوم بالآتي
اقتباس1. Write the program that calculates y(x), also your program must ask user for x value using prompt box:the program must check if the y result are odd or even .
For example if you enter x=1 the result will be:
You enter x=1.
y(1)=7;
the result 7 are odd number.
2. Write the program that calculates a person's body mass index (BMI),The BMI is defined as a person's weight (in kg) divided by the square of the person's height (in metres). A value of 18 to 25 indicates a safe value. From 25 to 30 indicates that a person is overweight and larger than 30 indicates that a person is obese, so that it will specifically inform the user whether he/she is "overweight", "clinically obese" or just "normal"?
Your program will ask user for weight and height using prompt box:
For example if you enter weight=70 and height=1.5 the result will be :
Your weight is 70 kg.
Your height is 1.5 m.
Your BMI is 31.11111111111111.
You are clinically obese.
الأسرع عليكم ايها المحترفون
محتاجه اليوم ضروري
مشكورين