I need help trying to figure out what I am doing wrong. my teachers wants two different sentences to read as "Wow, (insert word 1) and (Insert word 2) are funny" and on the second line he wants them reversed to read "Wow, (insert Word 2) and (Insert Word 1) are funny!" this is my code.
public class WoW
{
public static void main( String[] args )
{
System.out.printf ( "%s\n%s\n" ,
"Wow" , "red and read are funny words!" + "%s\n%s\n" ,
"Wow" , "read and red are funny words!" );
}
}
and This is my error report
Wow
red and read are funny words!%s
%s
I have zero clue what I did wrong.