Answer:
float time_hourly=(time_min/60);
float speed_mph=(distance_mil/time_hourly);
Explanation:
I have taken a float variable time_hourly to convert the time given in minutes in hours.We need to divide the time in minutes by sixty since there are 60 minutes in an hour.
I have taken a float variable speed_mph to calculate the speed.Since we know the speed is distance/time and provided the distance is in miles and the time is in hours.
Answer:
computer Hardware:-The physical of the computer which can be seen or touched is called computer hardware☆Computer needs these hardware devices for performing basic functions like accepting data and instructions .Example(keyboard,mouse,printer etc.)
Computer software:-The collection of programs that makes computer worked is called software☆Computer needs software to instruct tge computer hardware what to do and how to do .Example(windows 7,windows 10,Microsoft paint etc.)
The answer to your question is a shot
Answer:
0.
Explanation:
Given
int x;
x=3/(int)(4.5+6.4)
Required
What is x?
The first line of the code segment declares x as integer. This means that, it will only hold non decimal numbers.
With the above explanation, options (a), (c) and (d) can not be true.
Solving further:
x=3/(int)(4.5+6.4)
The computer evaluates the denominator as:
x=3/(int)(10.9)
The denominator is then converted to an integer. So, we have:
x = 3/10;
3/10 = 0.3 but
Recall that: <em>x will only hold non decimal numbers.</em>
So:
x = 0;