this is the question:
Write a C program that will request the user to input the values for R,L,and C and plot the a graph of current ,I, against frequency . The range for the frequency axis should be automatically selected based on the resonance frequency of the circuit.

And? What have you tried? Please note that our rules disallow posting homework questions with no proof of effort as if you wanted us do write it for you.

#include<stdio.h>
#include<math.h>
#define pi 3.142
double current(double);
double frequency(double,double);
void main ()
{
double r,l,c,i;
double f;
printf("Enter the value of R(unit in ohm):\n");
scanf("%lf",&r);
printf("Enter the value of L(unit in henry):\n");
scanf("%lf",&l);
printf("Enter the value of C(unit in farad):\n");
scanf("%lf",&c);
i=current(r);
printf("the value of I,current:%f ampere\n",i);
f=frequency(l,c);
printf("the value of f,frequency:%f hertz\n",f);
}
double current(double r)
{
double v=240;
double i;
i=v/r;
return i;
}
double frequency(double l,double c)
{
double f=0.0;
double s=0.0,result;
s=l*c;
result=sqrt(s);
f=1/(2*pi*result);
return f;
}

I'm going to develop new pos system. So I need to choice right database for that. My software work in network.
System going to be handle one thousand transactions per ...