Project 3 Details - convertToBinaryFromConsole

Write a program to get a string from the user (typed in) and convert that typed in string to binary.  The output of the program is as follows:

==================================================

Please enter a string to convert to binary: Ryan

Ryan, [01010010,01111001,01100001,01101110]

Please enter a string to convert to binary: quiT

Goodbye...

==================================================

The program continues doing this until the user enters any variant of the string "QUIT", "Quit", "quit", "qUiT", etc.

The method System.in.read will allow you to get input from the user.


About this Entry

This page contains a single entry published on December 19, 2011 11:05 AM.

Project 2 Details - ConvertBinaryToText was the previous entry in this blog.

Final Project Introduction is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

January 2014

Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31