Joke Collection Website - Blessing messages - Written in C language, simple mobile phone charging procedure, kneeling! ! ! No wealth. I'll charge you the phone bill if you write it out ~ ~

Written in C language, simple mobile phone charging procedure, kneeling! ! ! No wealth. I'll charge you the phone bill if you write it out ~ ~

Int phonetime

Number of int smscount messages

double m 1 = phone time * 100;

double m2 =(((SMS count & lt; 20)20:SMS count)-20)* 20;

if(m 1 & lt; 10000)m 1 = 10000;

if(phone time & gt; = 500)m 1 = m 1 * 0.9;

if(SMS count & gt; = 200)m2 = m2 * 0.9

Tax = 0.1* (m1+m2);

tax rate

M 1+m2 total

Total recharge amount m 1+m2+ tax