Number of days worked in company A = 38
Number of days worked in company B = 832
Total number of days worked = (38+832)
Now, first we need to convert the given fractions to like fractions so that both of them have the same denominator.
Since, 8 × 4 = 32, we will multiply the numerator and denominator of 38 by 4.
38=3×48×4=1232
Now, 38+832=1232+832
=12+832 (adding like fractions)
=2032
=58
Thus, Shyam has worked for 58 days in total.