Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Industrial engineering course (computer Application) A popular exercise program includes a diet a plan. The plan requires users to take a quiz to determine the

image text in transcribed
Industrial engineering course (computer Application)
A popular exercise program includes a diet a plan. The plan requires users to take a quiz to determine the amount of calories they should ingest daily. The first question prompts the user to enter "1" if they are male or "2" if they are female. This is called the gender score. The second question prompts the user to enter their weight in pounds. Based on their weight, the following conversion chart is used to determine a weight score. The gender score and weight score are added together to determine an overall diet plan score. The following chart shows the conversion from a diet plan score to the amount of calories one should eat daily during the workout program. Write a user defined function in Excel VBA that requests the users to enter gender and weight (in pounds) information via Input box. Calculate their overall diet plan score and display the amount of calories they should eat daily via Msg box. Your function should be user friendly in a way that anybody off the street could easily use and understand it

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

Computer Aided Database Design

Authors: Antonio Albano, Valeria De Antonellis, A. Di Leva

1st Edition

0444877355, 978-0444877352

More Books

Students also viewed these Databases questions