Question: Write a Simple stopwatch code with C You need to write the body of the function makeString(). Pay attention that you cannot use stdio.h and

Write a Simple stopwatch code with C

You need to write the body of the function makeString(). Pay attention that you cannot use stdio.h and its convenient sprintf function. Instead, think how you can turn an integer (number) into its ASCII code in order to create the string.

// makeString gets min, sec and tenth and returns the string made up of them. // Important note: char *string should already have enough space to hold "00:00:0" format // example: makeString(2, 3, 9, myString) will update the content of myString to "02:03:9" void makeString(unsigned int min, unsigned int sec, int unsigned tenth, char *string) { }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!