Giter Club home page Giter Club logo

greet-in-java's Introduction

greet_in_java

Build Status

Create a Java console app that can greet users in three or more different languages. The app should keep count of how many times a user have been greeted. And a count of how many different users has been greeted.

The app should prompt the user to enter a command.

Valid commands are:

  • greet followed by the name and the language the user is to be greeted in,
  • greeted should display a list of all users that has been greeted and how many time each user has been greeted,
  • greeted followed by a username returns how many times that username have been greeted,
  • counter returns a count of how many unique users has been greeted,
  • clear deletes of all users greeted and the reset the greet counter to 0,
  • clear followed by a username delete the greet counter for the specified user and decrement the greet counter by 1,
  • exit exits the application,
  • help shows a user an overview of all possible commands.

Your program should:

  • be able to greet a user in at least three different languages,
  • have a default language it greet users if now language is specified,
  • keep count of how many times a specific username is greeted - ignore case differences.
  • Notify the user of invalid commands.

Use:

  • use the java.util.Scanner class to read user commands from the console, maven,
  • TDD with JUnit run your tests with Maven - test your Classes well.

greet-in-java's People

Contributors

iicwerhelihlek avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.