Write a function unsigned int pose (unsigned int val, unsigned int base), which returns a value val given in decimal notation for each given value val.
Value of val in the system can be construed with the base base. You can assume that base is always between 2 and 9, and that val is sufficiently small to on the target system to cause any number range violation. Examples:
• pose (3,2) = 11 // 310 = 1 · 2 + 1 · 1 = 12
• pose (5,5) = 10 // 510 = 1 · 5 + 0 · 1 = 105
• pose (19,5) = 34 // 1910 = 3 · 5 + 4 · 1 = 345
• pose (5,6) = 5 // 510 = 5 · 1 = 56
• pose (7,7) = 10 // 710 = 1 · 7 + 0 · 1 = 107
• pose (543,9) = 663 // 54310 = 6 · 9
2 + 6 · 9 + 3 · 1 = 6639 Please note the following rules: • Your output archive should contain exactly one file named "convert.c". This file defines the function pose () and possibly other calls to be made by pose () Functions. Do not specify a main () function, do not include a makefile. • You must not use loops (keywords for, while, goto). • You must not use global variables. • You may not use a library function.