Can anyone tell me the logic to solve common emitter biasing of a BJT using c programming language?
Just tell me the idea. No need of program.
The better question is: Can anyone HELP me with the logic to solve common emitter biasing of a BJT?
Logic is language independent. With that said, use this open source Java applet to help you with an accurate BJT simulation: http://www.falstad.com/circuit
The source code is available on the site.