101 abc

Created by Marcelo, Modified on Mon, 6 Apr at 10:59 PM by Manoj VN



#include <iostream>
int main() {
    std::cout << "Hello, World!" << std::endl;
    return 0;
}


public class PrintName {
public static void main(String[] args) {
        // Define the name you want to print
        String name = "Gemini"; 
        
        // Use a for loop to print it 3 times
        for (int i = 0; i < 3; i++) {
            System.out.println(name)
}
}
}

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article