Computer Science, asked by Rudranil420, 8 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 uch distance you covered with your car.


 \huge \underline \bold \red {Computer \: C++}

<marquee>Please answer it</marquee>

 \red {No \: spam}
 \blue {5 \: points}

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

<marquee>5 points</marquee>

 \red {No \: Spam}

Answers

Answered by Anonymous
1

Explanation:

Answer:

\huge {\purple {\fbox {\bigstar {\mathfrak {\red {hello\:mate}}}}}}

___________________________________________________

\huge {\purple {\fbox {\bigstar {\mathfrak {\red {ur\: question}}}}}}

\huge {\mathfrak {\purple {Q.}}}}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 uch distance you covered with your car.

___________________________________________________

\huge {\purple {\fbox {\bigstar {\mathfrak {\red {ur\: ANSWER✓}}}}}}

ᴀɴsᴡᴇʀ:

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 ᴄᴏʀʀᴇᴄᴛ

___________________________________________________

#ʙᴇ ʙʀᴀɪɴʟʏ

\huge\mathfrak\red{hope\:it\:helps\:you}

Answered by strenbr
3

Answer:

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 ᴄᴏʀʀᴇᴄᴛ

Explanation:

Similar questions