Question: Using TDD, build a console system that allows the user to input their name, their height and their weight - and then print it all

Using TDD, build a console system that allows the user to input their name, their height and their weight - and then print it all out (points for how pretty it looks).

For your convenience, I am including a simple ScannerWrapper - it may not be the same when you're done.

Java file:

package test;

import java.util.Scanner;

public class ScannerWrapper {

Scanner scanner;

public ScannerWrapper() {

scanner = new Scanner(System.in);

}

public String nextLine() {

return scanner.nextLine();

}

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!