C Program For Reciprocal

#include<constream.h>
double reciprocal(float);
void main(){
   clrscr();
     cout<<"Enter Any Number : "<<reciprocal(31);
     getch();

}
double reciprocal(float a){

float result=1/a;
  return result*2;


}
Bhanu Namikaze

Bhanu Namikaze is an Ethical Hacker, Security Analyst, Blogger, Web Developer and a Mechanical Engineer. He Enjoys writing articles, Blogging, Debugging Errors and Capture the Flags. Enjoy Learning; There is Nothing Like Absolute Defeat - Try and try until you Succeed.

No comments:

Post a Comment