# Kind words for the teacher

• 1
• Locked
Write a program that displays "Ellie is very smart" 5 times. Each time, on a new line. Example output: Ellie is very smart Ellie is very smart Ellie is very smart Ellie is very smart Ellie is very smart
You can't complete this task, because you're not signed in.
Nandhini S
Level 1 , India
yesterday, 09:07
for(int i=1;i<=5;i++) { System.out.println("Ellie is very smart"); }
Anonymous #11327312
Level 1 , Danville, United States
17 April, 23:53
for (int i = 0; i <5 ; i++) { System.out.println("Ellit is very smart"); }
Hariharan Ganesan
Level 0 , India
20 January, 08:49
Stream.generate(() -> "Hello").limit(5).forEach(System.out::println);
kyle dula
Level 1 , Norway
9 January, 05:31
for(int i = 0; i<=5; i++){ System.out.println("Ellie is very smart"); }
Hasan Özyer
Level 1 , Turkey
9 May, 09:01
This would cause the program to print out the ellie 6 times, because you are starting from 0 and counting to 5.

Level 1 , China, China
1 January, 10:56
for(i=0;i<=4;i++){ System.out.println("Ellie is very smart"); }
SATISH SHARMA
Level 2 , CodeGym University in India, India
28 December 2022, 09:01
for(int i=0; i<=4; i++){ System.out.println("Ellie is very smart"); }
Anonymous #11226929
Level 2 , Tel Aviv, Israel
22 December 2022, 11:02
for(int i=1; i<=5; i++){ System.out.println("Ellie is very smart"); }
Language Trainer
Level 1 , Delhi, India
18 December 2022, 22:46
``````for(int i=1; i<=5; i++){
System.out.println("Ellie is very smart");
}``````
xaraza
Level 1 , Georgia
11 December 2022, 16:18
for(var i = 0; i < 5; i ++){ System.out.println("Ellie is very smart"); }
Nouamane Samir
Level 1 , Morocco
24 August 2022, 12:51
Hello guys, I tried doing this task using int and string but couldn't wrap my head around it !