Question:
write minimum length Java program that prints the following line 27 times out?
Caleb
2014-02-03 15:22:44 UTC
Use procedural decomposition to write minimum length Java program that prints the following line 27 times out the console window?
I love “COSC-236”!
Three answers:
Kaydell
2014-02-03 15:58:21 UTC
"Premature optimization is the root of all evil"



-- Donald Knuth (a famous computer scientist)



Rather than trying to minimize the amount of code, what is usually better is to write code that is understandable to minimize the cost of maintaining it. 80% of the cost of developing software is maintaining it.



Sorry, I don't think like that.
anonymous
2014-02-03 18:34:49 UTC
for (int i = 0; i < 27; i++) System.out.println("I love \"COSC-236\"!");
Srikrishna Duvvuri
2014-02-03 15:59:32 UTC
for(i=1;i<=27;i++)

{

System.out.println("I love 'COSC-236'!);

}


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...