To modify the HousingCrunch program, prompt the user for their name, a seed value, and the filename containing the housing data in CSV format.
How is this so?Load the housing data from the CSV file, extracting only the first field of each row.
Use the user's name, seed value, and the housing data to determine their recommended house option.
Finally, print the personalized recommendation to the console.
Note that CSV format, short for Comma-Separated Values format, is a plain text file format used to store tabular data.
Learn more about program at:
https://brainly.com/question/30783869
#SPJ1
In Java Please
4.24 LAB: Print string in reverse
Write a program that takes in a line of text as input, and outputs that line of text in reverse. The program repeats, ending when the user enters "Done", "done", or "d" for the line of text.
Ex: If the input is:
Hello there
Hey
done
the output is:
ereht olleH
yeH
The program that takes in a line of text as input, and outputs that line of text in reverse is given
The Programimport java.util.Scanner;
public class ReverseString {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String line;
do {
line = input.nextLine();
if (!line.equalsIgnoreCase("done") && !line.equalsIgnoreCase("d")) {
String reversed = reverseString(line);
System.out.println(reversed);
}
} while (!line.equalsIgnoreCase("done") && !line.equalsIgnoreCase("d"));
}
public static String reverseString(String text) {
StringBuilder reversedText = new StringBuilder();
for (int i = text.length() - 1; i >= 0; i--) {
reversedText.append(text.charAt(i));
}
return reversedText.toString();
}
}
Read more about programs here:
https://brainly.com/question/30783869
#SPJ1