// Chapter 1 // Gain of the amplifier //page 19 //Example no 1-12 //Given clc; Pin1=20; //in dBm Pin=-10; //in dBW Pout=25; //in dBW G=Pout-Pin; printf("\n The gain of amplifer is %.0f dB",G);// Result