Trying to print a string before and after a variable. Does C have the capability to use one statement to display this output?
This works:
float value = 5;
printf("\nThe value of %f", value);
printf(" is greater than zero.");
This is the desire (one statement):
float value = 5;
printf("\nThe value of %f", value, " is greater than zero.");
(Second string does not display)