Answer:
// program in C++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variable
int inp_month;
cout<<"Enter month:";
// read month
cin>>inp_month;
// if month is february
if(inp_month==2)
cout<<"Number of days in month:28"<<endl;
// if month is 4 or 6 or 9 or 11
else if(inp_month==4||inp_month==6||inp_month==9||inp_month==11)
cout<<"Number of days in month:30"<<endl;
else
// for others month
cout<<"Number of days in month:31"<<endl;
return 0;
}
Explanation:
Read month from user and assign it to variable "inp_month".If month is 2 then there is 28 days in the month.If input month is 4 or 6 or 9 or 11 then there is 30 days in the month.For other month there will be 31 days in month.We assume there is no leap year.
Output:
Enter month:4
Number of days in month:30
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:
A computer is an electronic device that accept raw data and instructions and process it to give meaningful results.
Answer :
Double click on boarder width an height will automatically adjust.
Manual procedure are following:
1.Open desire file of spreadsheet
2. Click on home tab in cell group and then click format.
3. Under cell size click on default width.
4. In standered column width box type new measurements and then click OK.
1. Portfolios, folders, or drives
2. To make small touch ups and enhance your photos
3. People can steal your photos
4. Because they are trying to capture a story in a photo, and others can change the original intent of their work.