文件名称:改变数字JAVA小程序
文件大小:579B
文件格式:JAVA
更新时间:2012-11-16 03:06:04
exchange Java
Write a program that asks the user to enter a favorite color, a favorite food, a favorite animal, and the first name of a friend or relative. The program should then print the following two lines, with the user’s input replacing the items in italics. [5 points] I had a dream that Name ate a Color Animal and said it tasted like Food. For example, if the user entered blue for color, hamburger for food, frog for the animal, and Jake for the person’s name, the output would be I had a dream that Jake ate a blue frog and said it tasted like hamburger.