Accountancy, asked by mayank4171, 8 months ago

Write a C++ program to create a text file“Story.txt” and store a text story .Display the number of lines in the story and the
total number of alphabets in the story.​

Answers

Answered by MRsteveAustiN
21

Hold The charge button

scroll left right

</p><p></p><p>&lt;!DOCTYPE html&gt;</p><p>&lt;html&gt;</p><p>  &lt;head&gt;</p><p>    &lt;title&gt;Page Title&lt;/title&gt;</p><p>    &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"&gt;&lt;/script&gt;</p><p>  &lt;/head&gt;</p><p>  &lt;body&gt;</p><p>    &lt;div id=container&gt;</p><p>      &lt;button id=charge&gt;Charge&lt;/button&gt;</p><p>      &lt;div id=battery&gt;&lt;/div&gt;</p><p>    &lt;/div&gt;</p><p>  &lt;/body&gt;</p><p> &lt;style&gt;</p><p>html, body {</p><p>  margin: 0;</p><p>  padding: 0;</p><p>  width: 100vw;</p><p>  height: 100vw;</p><p>  background: #efc467;</p><p>}</p><p>#container {</p><p>  margin: calc(50% - 250px) auto;</p><p>  width: 500px;</p><p>  height: 500px;</p><p>  background: transparent;</p><p>}</p><p></p><p>#battery {</p><p>  width: 300px;</p><p>  height: 100px;</p><p>  background: #666;</p><p>  border: 10px solid #999;</p><p>  position: relative;</p><p>  top: 120px;</p><p>  left: calc(50% - 180px);</p><p>}</p><p>#battery:before {</p><p>  content: '';</p><p>  width: 30px;</p><p>  height: 50px;</p><p>  background: #666;</p><p>  border: 10px solid #999;</p><p>  border-left: none;</p><p>  position: absolute;</p><p>  top: 15px;</p><p>  left: 310px;</p><p>}</p><p>#battery:after {</p><p>  content: '';</p><p>  width: 0;</p><p>  height: 100px;</p><p>  background: yellow;</p><p>  color: #fff;</p><p>  font-size: 30px;</p><p>  position: absolute;</p><p>  transition: width 10s linear;</p><p>}</p><p>#charge {</p><p>  width: 160px;</p><p>  height: 160px;</p><p>  background: #b00;</p><p>  color: #fff;</p><p>  font-size: 26px;</p><p>  border: 2px solid #f00;</p><p>  border-radius: 50%;</p><p>  outline: none;</p><p>  box-shadow: 0 4px 0 2px #800;</p><p>  position: absolute;</p><p>  top: 320px;</p><p>  left: calc(50% - 82px);</p><p>}</p><p>#charge:active {</p><p>  background: #0b0;</p><p>  border: 2px solid #0f0;</p><p>  box-shadow: 0 2px 0 1px #080;</p><p>  top: 324px;</p><p>  user-select: none;</p><p>}</p><p>#charge:active ~ #battery:after {</p><p>  content: 'Charging...';</p><p>  width: 300px;</p><p>  height: 100px;</p><p>  background: #0f0;</p><p>  position: absolute;</p><p>}</p><p>#charge:not(:active) ~ #battery:after {</p><p>  content: 'Not Charging';</p><p>  width: 0;</p><p>  height: 100px;</p><p>  background: #0f0;</p><p>  position: absolute;</p><p>  transition: width 60s linear;</p><p>}</p><p></p><p>&lt;/style&gt;</p><p>&lt;/html&gt;</p><p>

MrSteveAustiN

Similar questions