Joke Collection Website - Blessing messages - Programming problem if statement c language

Programming problem if statement c language

# include & ltstdio.h & gt

void main()

{

Floating point t 1, t2, t3, t =10;

Printf ("Please enter the number of messages sent:");

scanf("%f ",& ampt 1);

Printf ("Please enter the number of minutes to talk to the local mobile phone:");

scanf("%f ",& ampT2);

Printf ("Please enter the number of minutes to talk to the local fixed telephone:");

scanf("%f ",& ampT3);

if(t 1 & gt; 60)

t+=(t 1-60)* 0. 1;

If (t2 & gt20)

t+=(T2-20)* 0. 15;

t+= T3 * 0.2;

Printf ("user's mobile phone fee is %f", t);

}

I haven't debugged it. Try it. There should be no problem.