lundi 5 janvier 2015

How to make a chess board with 2 parameter inputs

Guys please help me to solve the following quiz. It's very urgent.



  • The chess board should be output as plain text from your program.

  • The chess board function or class needs to take two arguments as belows

  • Argument 1: - The first argument is how big each chessboard square is, i.e. '3' would generate squares that are 3 columns by 3 rows

  • Argument 2: - The second argument is how big the actual chessboard should be, i.e. '2' would generate a checkerboard with 2 columns and 2 rows of squares.


Example Output:- chessboard(1,4) produces a 1 x 1 squares with 4 x 4 Checkerboard


important • Error Handling: Your application should handle any and all errors that you feel are sensible to check.


Aucun commentaire:

Enregistrer un commentaire