Computer Science, asked by Rudranil420, 8 months ago

{\underline{\underline{\huge{\red{\bold {hello : )}}}}}}

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.

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

<marquee>Please answer it</marquee>

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

Answers

Answered by mayajakhar79
1

Answer:

\huge {\purple {\fbox {\bigstar {\mathfrak {\red {hello\:mate}}}}}} </p><p>★hellomate

___________________________________________________

\huge {\purple {\fbox {\bigstar {\mathfrak {\red {ur\: question}}}}}} </p><p>★urquestion

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.

___________________________________________________

\huge {\purple {\fbox {\bigstar {\mathfrak {\red {ur\: ANSWER✓}}}}}} </p><p>★urANSWER✓

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}hopeithelpsyou

Answered by pinjaraarifisha
1

Because Ur All Questions Are Answered

&lt;html&gt;</p><p></p><p>&lt;head&gt;</p><p></p><p>&lt;style&gt;</p><p></p><p>h1{</p><p></p><p>text-transform:uppercase;</p><p></p><p>margin-top:90px;</p><p></p><p>text-align:center;</p><p></p><p>font-family:Courier new,monospace;</p><p></p><p>border:3px solid rgb(60,450,500);</p><p></p><p>border-top:none;</p><p></p><p>width:90%;</p><p></p><p>letter-spacing:-6px;</p><p></p><p>box-sizing:border-box;</p><p></p><p>padding-right:5px;</p><p></p><p>border-radius:6px;</p><p></p><p>font-size:35px;</p><p></p><p>font-weight:bold;</p><p></p><p>}</p><p></p><p>h1 span{</p><p></p><p>position:relative;</p><p></p><p>display:inline-block;</p><p></p><p>margin-right:3px;</p><p></p><p>}</p><p></p><p>@keyframes shahir{</p><p></p><p>0%</p><p></p><p>{</p><p></p><p>transform: translateY(0px) rotate(0deg);</p><p></p><p>}</p><p></p><p>40%</p><p></p><p>{</p><p></p><p>transform: translateY(0px) rotate(0deg);</p><p></p><p>}</p><p></p><p>50%</p><p></p><p>{</p><p></p><p>transform: translateY(-50px)rotate(180deg);;</p><p></p><p>}</p><p></p><p>60%</p><p></p><p>{</p><p></p><p>transform: translateY(0px)rotate(360deg);;</p><p></p><p>}</p><p></p><p>100%</p><p></p><p>{</p><p></p><p>transform: translate(0px)rotate(360deg);;</p><p></p><p>}}</p><p></p><p>h1 span</p><p></p><p>{</p><p></p><p>animation: shahir 3s alternate infinite linear;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(1)</p><p></p><p>{color:lime;</p><p></p><p>animation-delay: 0s;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(2)</p><p></p><p>{color:lightmaroon;</p><p></p><p>animation-delay: 0.2s;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(3)</p><p></p><p>{color:red;</p><p></p><p>animation-delay:0s;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(4)</p><p></p><p>{color:green;</p><p></p><p>animation-delay: 0.4s;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(5)</p><p></p><p>{color:blue;</p><p></p><p>animation-delay: 0.5s;</p><p></p><p>}</p><p></p><p>h1 span:nth-child(6)</p><p></p><p>{color:purple;</p><p></p><p>animation-delay: 0.3s;}</p><p></p><p>&lt;/style&gt;</p><p></p><p>&lt;meta name="viewport" content="width=device-width" &gt;</p><p></p><p>&lt;/head&gt;</p><p></p><p>&lt;body&gt;&lt;center&gt;&lt;div&gt;&lt;h1&gt;&lt;span&gt;P.&lt;/span&gt;&lt;span&gt;M.&lt;/span&gt;&lt;span&gt;A&lt;/span&gt;&lt;span&gt;R&lt;/span&gt;&lt;span&gt;I&lt;/span&gt;&lt;span&gt;F&lt;/span&gt;</p><p></p><p>&lt;/h1&gt;&lt;/div&gt;&lt;/center&gt;&lt;/body&gt;&lt;/html&gt;

Similar questions
Math, 4 months ago