New answers tagged

0

int a=0; float b=10.01; char str[16]; sprintf(str,"a=%d, b=%.2f, c=%d", a, b, 2); // use sprintf() to compose the string str lcd.print(str); The output will be 'a=0, b=10.01, c=2'


Top 50 recent answers are included