Home /
Expert Answers /
Computer Science /
using-your-code-from-programming-exercise-3c-modify-the-program-findpatientrecords-program-so-that-pa853
(Solved): Using your code from Programming Exercise 3C. modify the program FindPatientRecords program so that ...
Using your code from Programming Exercise 3C. modify the program FindPatientRecords program so that it prompts the user for a minimum balance due, reads the file Patients.txt, provided for you, and displays all the records containing a balance greater than or equal to the entered value. In order to prepend the \( \$ \) to currency values, the program will need to use the Cultureinfo. GetCultureinfo method. In order to do this, include the statement using System.Globalization; at the top of your program and format the output statements as follows: WriteLine("This is an example: \( \{0\}\}^{\prime \prime} \), value. ToString("C", CultureInfo. GetCultureinfo("en-US"))); Grading When you have completed your program, click the Submit button to record your score.
Answer: //FindPatientRecords.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FindPatientRecords { class FindPatientRecords { static void Main() { int counter = 0; string line; double minBalance; dou