<p><html></p> <p><strong>Hey steemit and steemians.</strong></p> <p>lets look at hand hand operator Subtraction (-) program.</p> <blockquote><strong>Using C++</strong></blockquote> <p><img src="https://www.edx.org/sites/default/files/course/image/promoted/dev210x-course_card_image-378x225.jpg" width="378" height="225"/></p> <h1>Program Body:</h1> <p>#include <iostream></p> <p>#include <string></p> <p>using namespace std;</p> <p>class damon{</p> <p>int a;</p> <p>public:</p> <p> damon(){</p> <p> a=0;</p> <p> }</p> <p> damon(int b){</p> <p> a=b;</p> <p> }</p> <p> void operator-=(int wolf){</p> <p> a=a-wolf;</p> <p> }</p> <p> void depict(){</p> <p> cout<<a<<endl;</p> <p> }</p> <p>};</p> <p>int main (){</p> <p>damon vamp(80);</p> <p>vamp-=10;</p> <p>vamp.depict();</p> <p><br></p> <p>return 0;</p> <p>}</p> <h1><strong>Working:</strong></h1> <p>the object of class is Subtracted it is for single one.</p> <p><strong>Thanks I hope you liked it</strong></p> <p><strong>https://steemitimages.com/0x0/http://i.imgur.com/8LLIFX6.gif</strong></p> <p><strong>https://steemitimages.com/DQmWjQo9ddXyVHLTJ2tFirEb1hUVJjnBf7RLVrVUzwkiRyt/coollogo_com-27655818.png</strong></p> <p><br></p> </html>