Suppose we want to extract the text content of the first no…

Suppose we want to extract the text content of the first node of Georgia Tech’s homepage, using the Jaunt package as we demonstrated in class, what should be the missing code in the following code snippet? UserAgent agent = new UserAgent();agent.visit(“http://www.gatech.edu”));_______________________String text = element.getTextContent().trim();System.out.println(text);  

Write a simple program inside of ‘main’ that prompts the end…

Write a simple program inside of ‘main’ that prompts the end-user ‘Enter the number of euros to convert to dollars: ‘ and then uses the current rate of 1.21 dollars to the euro to display how much money the user can expect. Use the format method to show the amount to the nearest penny. For example: Enter the number of euros to convert to dollars: 10 You are due $12.10 Write a function named ‘convert’ that performs the processing step. Be sure to call your processing function from your main. There is no need for comments.