If 1% of the phones were broken, then the number of good phones is 99% of 4,028:
99/100 x 4,028 = 3,987.72 (rounded to 3,988)
Out of the 3,988 good phones, 50% were sold to another city:
50/100 x 3,988 = 1,994
So, the remaining number of good phones that were sold locally is:
3,988 - 1,994 = 1,994
To find the percentage of phones sold locally, we need to divide the number of phones sold locally by the total number of phones:
1,994 / 4,028 = 0.494
Then, we can convert this decimal to a percentage and round to the nearest one percent:
0.494 x 100 ≈ 49%
Therefore, approximately 49% of the phones were sold locally.