A,\(\left(\left(1002-998\right):2+1\right)\cdot\left(998+1002\right):2\)
\(=5000\)
B,\(\left(\frac{13}{5}+\frac{2}{5}\right)-\left(\frac{9}{8}+\frac{7}{8}\right)=3-2=1\)
A/ \(998+999+1000+1001+1002\)
\(=\left(998+1002\right)+\left(999+1001\right)+1000\)
\(=2000+2000+1000\)
\(=5000\)
B/ \(\frac{13}{5}-\frac{9}{8}+\frac{2}{5}-\frac{7}{8}\)
\(=\left(\frac{13}{5}+\frac{2}{5}\right)-\left(\frac{9}{8}+\frac{7}{8}\right)\)
\(=\frac{15}{5}-\frac{16}{8}\)
\(=3-2=1\)