“System.out.println(num + “” “” + cost + “”\n””);”,”Two variables , num and cost have been declared and given values : num is an integer and cost is a double . Write a single statement that outputs num and cost to standard output . Print both values (num first, then cost)

Average Rating
0 out of 5 stars. 0 votes.

“System.out.println(num + “” “” + cost + “”\n””);”,”Two variables , num and cost have been declared and given values : num is an integer and cost is a double . Write a single statement that outputs num and cost to standard output . Print both values (num first, then cost)

separated by a space on a single line that is terminated with a newline character . Do not output any thing else.”