A tested battery has four cells, a voltage of 6.5, and grade A. Those values have different jobs: a count, a measurement, and a one-letter label.
int cells initialized to 4, double volts initialized to 6.5, and char grade initialized to 'A'. Print Battery A: 4 cells, 6.5 V and a newline with matching conversions.Add your code inside main in main.c, then Run and Submit. The output order is grade, cells, voltage, even though you may declare the variables in a different order.
A displayed voltage of 6 is a reason to check both the stored value and the format. Use %.1f for one decimal place. The output check verifies the label, not your variable types, so compare your declarations with the requested types before submitting.
Match %c, %d, and %.1f to grade, cells, and volts.