3

What I have so far:

printf("Entered string is %c", string, "with length %d", i,
"and ID number is %s", number, "with length %d", j);

The result I'm getting is:

Entered string is 4
John Kugelman
  • 349,597
  • 67
  • 533
  • 578

1 Answers1

1

For string use %s instead of %c and If your Id number is integer use %d instead of %s

 printf("Entered string is %s with length %d and
     ID number is %s with length %d",string,i, number, j);
suvojit_007
  • 1,690
  • 2
  • 17
  • 23