Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions