Giter VIP home page Giter VIP logo

classroomcontroller's Introduction

codebeat badge Build Status

Classroom Controller

Create a program that allows your user to control a classroom. Import both the Classroom class and an Reader class and use the two together to allow the user to make a selection from the following main menu and make it work:

  • If the user chooses A, the program will prompt the user for an integer and add that many students to the room. (Think about how to use loops for this.)
  • If the user chooses R, the program will prompt the user for an integer and remove that many students to the room (if the number exceeds the number of students in the room, the room will remain at zero)
  • If the user chooses L, the program will prompt the user for an integer and turn on that number light. The program may only accept a valid light number (1, 2 or 3).
  • If the user chooses O, the program will prompt the user for an integer and turn off that number light.
  • If the user chooses Q, the program will quit.

Other options should be provided to fit in with the other features of your classroom.

Suggested Java project from dreamincode.net

https://wakatime.com/

classroomcontroller's People

Contributors

carlosfmeneses avatar

Watchers

 avatar

Forkers

sumo99

classroomcontroller's Issues

Set Program Loop

Have program continue to loop thru displaying menu, asking for input and updating output, until the user quits program.

Invalid Command on Loop

The output displays "Invalid command" when program loops for next user input. Must be an issue with .nextLine();

GPG to sign commits via terminal

In Terminal:

$ git commit
error: gpg failed to sign the data
fatal: failed to write commit object

In .gitconfig:

[gpg]
	program = gpg
[commit]
	gpgsign = true

Create Simple JAVA program

Modify ClassController.java to output a simple line (Hello World is sufficient) to verify all configurations

Write input code

Write a class seminar to EasyReader.java, which accepts an input from the keyboard to be processed.

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.