Day 6 Challenge Resources
A fitness company wants to send a personalized email to each customer with their Body Mass Index (BMI) calculated based on their weight and height. The calculated BMI will be included in the email with one decimal place. BMI is calculated using the following formula: weight in kg / (height in m)2
If you’re unsure where to start, a sample data set is available here and can serve as a helpful starting point for the challenge.
Your email may look like the following example if you test your AMPscript with one of the sample records provided.
Hello, Based on your weight and height, your Body Mass Index (BMI) is 24.97. Thank you for choosing our fitness company to help you reach your fitness goals! Sincerely, The Fitness Company Team Crafted with 💜 by AMPscript30. AMPScripted Smiles Ltd. 456 Data Extension Drive Suite 321, Loop City, Variable Valley, DE 12345