Question: Please help me complete the code after comment. I have just learnt about function and a little bit confused #include #include float getNumbers( float number1,

Please help me complete the code after comment. I have just learnt about function and a little bit confused

#include

#include

float getNumbers( float number1, float number2 );

int small_big( int small, int big );

std::string animal_show( std::string animal1, std::string animal2 );

int main()

{

std::cout << "Enter number from 1 to 10 ";

int numberFirst = small_big( 1, 10 );

std::cout << " Enter number from 12 to 15 : ";

int numberSecond = small_big( 12, 15 );

int Answer = getNumbers( numberFirst, numberSecond );

std::cout << std::endl << "Answer: " << Answer << std::endl;

std::string Pig = "Pig";

std::string Lion = "Lion";

std::stringEvil = Pig;

for( int i = 0; i < 5; i++ )

Evil = animal_show( Evil, Lion);

std::cout << Evil << std::endl;

return 0;

}

float getNumbers( float number1, float number2 )

{

//getNumber equal number1 plus number2

return 0;

}

int small_big( int small, int big )

{

// it will check value valid or not, it will return if it have right number

return 0;

}

{

std::string show_animals( std::string animal1, std::string animal2 )

// Take the second word and insert it two letter before the end of the first word.

// Example: Boo and Horse would be BHorseoo

return "";

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!