Write a program that outputs Four Score and Seven Years Ago on six lines, with the words centered relative to each other.

What will be an ideal response?


```
public class Lincoln {
public static void main(String [] args) {
System.out.println(" Four ");
System.out.println("Score");
System.out.println(" and ");
System.out.println("Seven");
System.out.println("Years");
System.out.println(" Ago ");
}
}
```

Computer Science & Information Technology

You might also like to view...

Except for symbolic constants and function prototypes, local variables should almost never be used.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which dialog box is used to set an exact width for the table?

A. Table Properties B. Page Setup C. Table Setup D. Table Options

Computer Science & Information Technology

A(n) ____ link connects webpages within one site.

A. absolute B. bridged C. interlaced D. relative

Computer Science & Information Technology

Comments are often easier to work with when the zoom percentage is lower than 100%

Indicate whether the statement is true or false

Computer Science & Information Technology