Question: You are asked to write a program in MIPS assembly that calculates how much it will cost to fill up the gas in a car.
You are asked to write a program in MIPS assembly that calculates how much it will cost to fill up the gas in a car. You should ask the user to give you how full is the tank (for example 0.45) , how many gallons of gas the tank can hold and what is the price of gas per gallon in USD. Calculate how much money should the user pay to fill the tank.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
