Will you help me with writing this program in C++? // Move the indicated code into functions. #inclu

Will you help me with writing this program in C++? // Move the indicated code into functions. #include using namespace std; int main() { double jedi_level; int age; int weight; int mcc; // TODO – write a void function to print out to console this welcome message cout << "Welcome to my fabulous Jedi power level calculator!" << endl << "This program will take your age, weight, and" << endl << "midichlorean count and return your Jedi power level!" << endl << endl; // TODO - write a function that will prompt the user for his/her age, // weight, and midicholrean count. Then calculate and return their // jedi level (returns a double). Remember to assign the retuned value // to the variable &#39;jedi_level&#39;. cout << "please enter your age : "; cin >> age; cout << "please enter your weight : "; cin >> weight; cout << "please enter your midicholrean count : "; cin >> mcc; jedi_level = static_cast (mcc * age) / (weight * weight); // this should remain inside your main function cout

Looking for a similar assignment? Get 15% discount on your first order with us
Our experts will take care of your task no matter the deadline!
Use the following coupon
"SAVE15"

Order Now