using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication21
{
class Program
{
static void Main(string[] args)
double v;
double r1;
double r2;
double i;
double i1;
double i2;
double rt;
Console.WriteLine("plz enter voltage");
v = double.Parse(Console.ReadLine());
Console.WriteLine("plz enter r1");
r1 = double.Parse(Console.ReadLine());
Console.WriteLine("plz enter r2");
r2 = double.Parse(Console.ReadLine());
rt = 1 / (1 / r1 + 1 / r2);
i = v / rt;
i1 = v / r1;
i2 = v / r2;
Console.writeline(" the rt is "+rt + "ohm "+"the curnet is "+i+ "amper "+"the v1 is "+v1+ " volt "+"the v2 is "+v2+ " volt ");
Console.readkey;
}
}
}