Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void Main(string[] args)
- {
- double coEffA = 0;
- double coEffB = 0;
- double coEffC = 0;
- double upperRange = 0;
- double lowerRange = 0;
- GetCoefficient(ref coEffA, ref coEffB, ref coEffC);
- GetRange(ref upperRange, ref lowerRange);
- Console.WriteLine(coEffA);
- Console.WriteLine(coEffB);
- Console.WriteLine(coEffC);
- Console.Read();
- }
- static private void GetCoefficient(ref double coEffA, ref double coEffB, ref double coEffC)
- {
- CUtilities.GetValue(out coEffA, "Please enter in the value for A");
- CUtilities.GetValue(out coEffB, "Please enter in the value for B");
- CUtilities.GetValue(out coEffC, "Please enter in the value for C");
- }
- static private void GetRange(ref double upperRange, ref double lowerRange)
- {
- CUtilities.GetValue(out upperRange, "Please enter in the upper range");
- CUtilities.GetValue(out lowerRange, "Please enter in the lower range", upperRange);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement