Code snippets library
#include<iostream.h> #include<conio.h> void main() { int m; void power(double,int n=2); clrscr(); cout<<"Enter the no."; cin>>m; power(m); getch(); } void power(double m,int n) { int a=m; for(int i=1;i<n;i++) { m=a*m; } cout<<"THE ANSWER IS"<<m; }
Name (required)
Mail (will not be published) (required)
Website
You can use these HTML tags
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <font color="" face="" size=""> <span style="">
Spam Protection by WP-SpamFree Plugin
Copyright © 2012 SnippetWare.com - All Rights ReservedPowered by WordPress & the Atahualpa Theme by BytesForAll. Discuss on our WP Forum