Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  r1
Language: C/C++
Code:
#include <stdio.h>
#include <math.h>
#include <iostream>
using namespace std;
int main()

     float r1,r2,rs,rp;
     cin>>"r1=";
     cout<<r1;
     cin>>"r2=";
     cout<<r2;
     rs=r1+r2;
     cout<<rs;
     rp=(1/r1)+(1/r2);
     cout<<rp;
     return 0;

          
          
          
          
Comments: