Answer:
```
file = open("trips.txt","r")
file = file.split("\n")
trip_date = []
fuel_used = []
miles_traveled = []
for i in file:
trip_date.append(i.split(", ")[0])
for i in file:
fuel_used.append(i.split(", ")[1])
for i in file:
miles_traveled.append(i.split(", ")[2])
```
This should put the data in their own lists (i didn't test it) but im not going to solve everything for you. The rest is for you to tinker with. You shouldn't throw your question at us and expect an answer. This is the most that I will give you.
Explanation:
Answer:
We need to have binary numbers because that is how computers process data.
Explanation:
Answer:
Float circumference; // Create a float variable
Explanation:
The float datatype is used for storing the decimal point values .The syntax to declaring any float variable is given below.
float variable-name;
float circumference; // create a float variable
circumference=89.9007;; // store the value in circumference
Following are program in c++
#include <iostream> // header file
using namespace std; //namespace
int main() // main function
{
float circumference; // creating variable float
circumference=89.9007; // storing value
cout<<circumference; // display value circumference
return 0;
}
Output:
89.9007