Question: Fill in all the blanks correctly in C++ code. use library. Make sure it runs correctly and properly. Functions //library files #include //define constants #define
Fill in all the blanks correctly in C++ code. use




Functions //library files \#include //define constants \#define \#define //prototypes getinput ( ); void main() \{ //declare variables float ; / / / distance in km float _ / _ //price of gas in $ float ; / /cost //GET user input = getInput (") ) ; returnvalue //CALCULATE the cost based on the user data = //DISPLAY calculated cost printf(" //WAIT for user confirmation before ending program system \{ //initialize data check variable while ) //100p check //PROMPT the user //READ the input value //CHECK the input value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
