You are on page 1of 3

* Challenge Activity 1 - DAD and ADD in Bigletters

* This is a great challenge in writing and calling functions.

* This program will print out big letters (but only "D" and "A"

* it it then used used to print words DAD and ADD

* The letters print vertically. Sample output

* XXX

*X X

*X X

*X X

*X X

* XXX

* X

* XX

*X X

* XXXXX

*X X

*X X

* XXX

*X X

*X X

*X X

*X X

* XXX
*

* X

* XX

*X X

* XXXXX

*X X

*X X

* XXX

*X X

*X X

*X X

*X X

* XXX

* XXX

*X X

*X X

*X X

*X X

* XXX

*/

package bigletters;

public class BigLetters {

public static void main(String[] args) {


// TODO: print "DAD" then "ADD" in big letters

// do this by calling PrintDAD() and PrintADD

public static void PrintADD() {

//TODO: Write code to print ADD in big letters

// by calling the PrintA() and PrintD() methods

public static void PrintDAD() {

//TODO: Write code to print DAD in big letters,

// by calling the PrintA() and PrintD() methods

public static void PrintA() {

// TODO: Write code to print the letter "A" in big letters

public static void PrintD() {

// TODO: Write code to print the letter "D" in big letters

You might also like