public class T { public static void Main() { string B = " bottle", C = " of beer", W = " on the wall", K = "99", D=B + "s" + C, F, E; for ( int i=99, n; i > -1; i-- ) { n = i > 0 ? ( i - 1 ) : 99; F = ( n == 1 ? B : ( B + "s" ) ) + C; E = n == 0 ? "no more" : ( "" + n ); System.Console.WriteLine( ( i > 0 ? K : "No more" ) + D + W + ", " + K + D + ".\n" + ( i > 0 ? "Take one down and pass it around" : "Go to the store and buy some more" ) + ", " + E + F + W + ".\n" ); K = E; } } }