switch ( Partner Name ) { case Intel: Sp = 20; break; case Qualcomm: Sp = 10; break; case Kore: Sp = 1; break; default: Sp = Random(); break; }