I do not understand this text "The displayed text must contain the entered name". Is it trying to say that i do not have to include "Sara" in the printout in this way System.out.printout(" makes $120,000 a year. Ha-ha-ha!"); and that "Sara" should be typed on the console and should be part of the printed text or that i should just include "Sara" in the printout like this: System.out.printout("Sara makes $120,000 a year. Ha-ha-ha!");
I have done it both ways but it still didnt work.
package com.codegym.task.task03.task0320;
/*
The humble programmer
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
BufferedReader name= new BufferedReader(new InputStreamReader(System.in));
String Sara= name.readLine();
System.out.print("Sara makes $120,000 a year. Ha-ha-ha!");
}
}