Computer Science, asked by Rudranil420, 10 months ago

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.

Answers

Answered by BrainlyShadow01
2

Explanation:

Hey

thank my answers otherwise I will report your incorrect answers please because you cheated me

Answered by Anonymous
0

Explanation:

{\huge{\bold{\underline{\underline{Answer:}}}}}

♡ ↪

sᴘᴇᴇᴅ ᴏғ ᴄᴀʀ ɪɴ ғɪʀsᴛ 15 ᴍɪɴᴜᴛᴇs = 40 ᴋᴍ/ʜ

ᴅɪsᴛᴀɴᴄᴇ ᴄᴏᴠᴇʀᴇᴅ = sᴘᴇᴇᴅ × ᴛɪᴍᴇ ᴛᴀᴋᴇN

60 ᴍɪɴᴜᴛᴇs = 1 ʜᴏᴜʀ

15 ᴍɪɴᴜᴛᴇs =6015ʜᴏᴜʀ

ᴅɪsᴛᴀɴᴄᴇ ᴄᴏᴠᴇʀᴇᴅ = 240×6015=10ᴋᴍ

sᴘᴇᴇᴅ ᴏғ ᴄᴀʀ ɪɴ ɴᴇxᴛ 15 ᴍɪɴᴜᴛᴇs = 60 ᴋᴍ/ʜ

ᴅɪsᴛᴀɴᴄᴇ ᴄᴏᴠᴇʀᴇᴅ = 60×6015=15ᴋᴍ

∴ ᴛᴏᴛᴀʟ ᴅɪsᴛᴀɴᴄᴇ ᴄᴏᴠᴇʀᴇᴅ = (10+15)ᴋᴍ = 25 ᴋᴍ

∴ 25 ᴋᴍ ɪs ᴄᴏʀʀᴇᴄᴛ

\huge\boxed{\fcolorbox{red}{purple}{FOLLOW ME!!}}

Similar questions