Tic-Tac-Toe in Java.

This program is a Tic Tac Toe game. Info: http://en.wikipedia.org/wiki/Tic-tac-toe In this program, i have used JButtons and JLabel. What this program does: 1. Checks for all possible winning conditions. 2. Different colors to mark X and O respectively. 3. …

[Continue reading]

GUI based Calculator

This is a simple calculator which can add, subtract, multiply and divide two numbers. There’s not much logic involved in the program, just made it to demonstrate different GUI elements.

Output: Executable JAR file: http://www.mediafire.com/?6bbweg0ivd8id6n

Write a program that takes in an integer between 1 and 366 and then outputs the full date that it corresponds.

This question was asked at a forum, link. The question is quite self explanatory. We have to write a program that takes in a number between 1 to 366 and displays the corresponding date.

Tested in Visual C++ 2010