Morning and afternoon commute times are obvious blocks of time that you can assume are used for listening to podcasts, but the answer will obviously vary widely based on individual habits and schedules.
Hope this helps
Answer:
Multiply(m,n)
1. Initialize product=0.
2. for i=1 to n
3. product = product +m.
4. Output product.
Explanation:
Here we take the variable "product" to store the result m×n. And in this algorithm we find m×n by adding m, n times.
It changes a little depending on what programming language you're using, but in C you could say
int times_ten (int num) {
num = num*10;
return num;
}
Or, in general terms:
Integer Function times_ten (Integer num)
Set num = num * 10
Return num
This is all done assuming the number used as an argument is an integer and that you are returning an integer value, not a decimal. The main thing to notice is that since you have to return a value, you must have two things: a return statement, and a type declaration for the function, otherwise you'll get an error.
What is your question exactly?