The title says about sprintf, so I run it with focusing only on this and got the correct result


#include <stdio.h>

char DiamString[10];

void AddDiam (float diameter)
{//Takes the...