[tex]{\underline{\underline{\huge{\red{\bold {hello : )}}}}}}[/tex]
Your father has presented a lovely red car on your birthday. You drove the car for 5 hours at an average speed of 70 kms/ hr. Write a program in C++ to calculate how much distance you covered with your car.
[tex] \huge \underline \bold \red {Computer \: C++}[/tex]
[tex]<marquee>Please answer it</marquee>[/tex]
[tex] \red {No \: spam}[/tex]
[tex] \blue {10 \: points}[/tex]
Answers & Comments
Answer:
___________________________________________________
Your father has presented a lovely red car on your birthday. You drove the car for 5 hours at an average speed of 70 kms/ hr. Write a program in C++ to calculate how much distance you covered with your car.
___________________________________________________
sᴘᴇᴇᴅ ᴏғ ᴄᴀʀ ɪɴ ғɪʀsᴛ 15 ᴍɪɴᴜᴛᴇs = 40 ᴋᴍ/ʜ
ᴅɪsᴛᴀɴᴄᴇ ᴄᴏᴠᴇʀᴇᴅ = sᴘᴇᴇᴅ × ᴛɪᴍᴇ ᴛᴀᴋᴇɴ
60 ᴍɪɴᴜᴛᴇs = 1 ʜᴏᴜʀ
15 ᴍɪɴᴜᴛᴇs =
60
15
ʜᴏᴜʀ
ᴅɪsᴛᴀɴᴄᴇ ᴄᴏᴠᴇʀᴇᴅ = 240×
60
15
=10ᴋᴍ
sᴘᴇᴇᴅ ᴏғ ᴄᴀʀ ɪɴ ɴᴇxᴛ 15 ᴍɪɴᴜᴛᴇs = 60 ᴋᴍ/ʜ
ᴅɪsᴛᴀɴᴄᴇ ᴄᴏᴠᴇʀᴇᴅ = 60×
60
15
=15ᴋᴍ
∴ ᴛᴏᴛᴀʟ ᴅɪsᴛᴀɴᴄᴇ ᴄᴏᴠᴇʀᴇᴅ = (10+15)ᴋᴍ = 25 ᴋᴍ
∴ 25 ᴋᴍ ɪs ᴄᴏʀʀᴇᴄᴛ
___________________________________________________
#ʙᴇ ʙʀᴀɪɴʟʏ
Because Ur All Questions Are Answered