inline function

Write a program which uses an inline function calculateStockValue. The function takes two parameters - one is number of shares and the other is unit price of a share. User should be able to use this functions as many times as he wants unless he wants to quit.
inline void calculateStockValue( unsigned int shares, float price ) {}

Use it as many times as you want.:)
Topic archived. No new replies allowed.