Write a toy scanf function. Its specification are as follows: int toy_scanf( char format_str[], int *arg-1, float *arg-2, char arg-3[] ) The function has exactly four arguments with the constant string being the format specifier. This string can have the following form: "%d%s", or "%f%s". The function expects the input to be in the following form: with being an integer if %d is present in , and it being a float otherwise. If the input is of correct form, the function reads the input number and string and stores them in *arg_1 and arg-2[] respectively, and returns 1. Otherwise it returns 0. The string in the input is terminated by a white-space (blank, tab, or new line). Note: Only getchar() funcion can be used inside their definition. You should not use scanf! For example, for the call toy_scanf("A number = %f\nA string = %s", &n, &s) the first two inputs are in correct form and the next two are in the wrong form: ---------------------------------------------------------------------- A number = 30 A string = This_is_a_string --------------------------------------------------------------------- A number = 744.45 A string = Z ------------------------------------------------------------------------- 744.45 Z ----------------------------------------------------------------------- A number = 744.45 A string = Z -----------------------------------------------------------------------