KnowledgeBoat Logo

Computer Applications

Write a program to print your School name four times in separate lines.

Java

Java Intro

66 Likes

Answer

public class KboatSchoolName
{
    public static void main(String args[]) {
        System.out.println("St. Francis' College");
        System.out.println("St. Francis' College");
        System.out.println("St. Francis' College");
        System.out.println("St. Francis' College");
    }
}

Output

BlueJ output of Write a program to print your School name four times in separate lines.

Answered By

23 Likes


Related Questions