Answer:
Here is code in python .
#function to calculate miles traveled
# pass two parameter in the function "miles_per_hour" and "minutes_traveled"
def mph_and_minutes_to_miles(miles_per_hour, minutes_traveled):
# convert minutes to hours
hours_traveled = minutes_traveled / 60.0
#calculate total miles traveled
miles_traveled = hours_traveled * miles_per_hour
#return the value
return miles_traveled
#read input from user
miles_per_hour = float(input())
minutes_traveled = float(input())
#call the function and print the output
print('Miles: %f' % mph_and_minutes_to_miles(miles_per_hour, minutes_traveled))
Explanation:
Read the value of "miles_per_hour" and "minutes_traveled" from user. call the function mph_and_minutes_to_miles() with those two parameters.calculate total hours from the minutes_traveled by dividing it with 60. then calculate the total miles by multiply hours_traveled * miles_per_hour. then return the miles travelled.
Output:
20
150
Miles: 50.000000
".com", ".ca", ".net" and "org" are all examples of domains.
Hope this helps! A thanks/brainiest answer would be appreciated :)
You add a default value to a table field or form control whenever you want Access to enter a value in a new record automatically. For example, you can have Access always add the current date to new orders.
Typically, you add a default value to your table fields. You add the value by opening the table in Design view and then entering a value in the Default Value property for the field. If you set a default value for a table field, Access applies your value to any controls that you base on that field. If you don't bind a control to a table field, or you link to data in other tables, you set a default value for your form controls itself.
You can set a default value for table fields set to the Text, Memo, Number, Date/Time, Currency, Yes/No, and Hyperlink data types. If you don't supply a value, the field remains null (blank) until you enter a value. After you define a default value, Access applies that value to any new records that you add. If you want, you can change the value in a record from the default value to another value, unless a validation rule prohibits this
The answer to this question is "modulus".