Quick Links to Application questions (with solutions)!

C++.

Java.

Sunday, January 17, 2010

Words and numbers - Sentence code

class bananas
{
public static void main(String args[])
{
int bananas; //(int can be substituted with these)
bananas = 3;
System.out.print("I want ");
System.out.print(bananas);
System.out.println(" flowers");
}
}

No comments:

Post a Comment