help me.... can anyone solve my prob

#include <stdio.h>
#include <string>
main()
{
int plan,p_num,ic,poscode;
char name[25],add[100],sex[6],nationalism[25],state[25],status[25];
printf("welcome to maxis broadband service");
printf("\nwheater it's checking mails,playing games or wacthing the latest video online,\nenjoy the fredom to surf");
printf("\nwherever and whenever you like with our wide range of plans");
printf("\nP/s: after press info you will be redirected to fill registeration form");
printf("\npress 1 to know about lite plan");
printf("\npress 2 to know about Swift plan");
printf("\npress 3 to know about Power plan");
printf("\npress 4 to know about Freedom plan");
printf("\npress 5 to know about Ultimate plan");
printf("\n");
scanf("%d",&plan);

switch(plan)
{
case 1: printf("\nlite plan");
printf("\nswift plan");
printf("\ndata volume = 1.5 GB");
printf("\nspeed = 512 Kbps");
printf("\nmontly fee = RM 48");
printf("\nactivation fee = RM 100 (inclusive of HSPDA modem)");
printf("\n = RM 100 + RM 280 (WiFi HSPDA modem)");
printf("\ncommitment period = 6 month");
break;
case 2: printf("\nSwift plan");
printf("\nswift plan");
printf("\ndata volume = 3 GB");
printf("\nspeed = no limits");
printf("\nmontly fee = RM 58");
printf("\nactivation fee = RM 100 (inclusive of HSPDA modem)");
printf("\n = RM 100 + RM 280 (WiFi HSPDA modem)");
printf("\ncommitment period = 6 month");
break;
case 3: printf("\nPower plan");
printf("\nswift plan");
printf("\ndata volume = 3 GB");
printf("\nspeed = no limits");
printf("\nmontly fee = RM 68");
printf("\nactivation fee = RM 100 (inclusive of HSPDA modem)");
printf("\n = RM 100 + RM 280 (WiFi HSPDA modem)");
printf("\ncommitment period = 6 month");
break;
case 4: printf("\nFreedom plan");
printf("\nswift plan");
printf("\ndata volume = 6 GB");
printf("\nspeed = no limits");
printf("\nmontly fee = RM 98");
printf("\nactivation fee = RM 100 (inclusive of HSPDA modem)");
printf("\n = RM 100 + RM 280 (WiFi HSPDA modem)");
printf("\ncommitment period = 6 month");
break;
case 5: printf("\nUtimate plan");
printf("\nswift plan");
printf("\ndata volume = 12 GB");
printf("\nspeed = no limits");
printf("\nmontly fee = RM 198");
printf("\nactivation fee = RM 100 (inclusive of HSPDA modem)");
printf("\n = RM 100 + RM 280 (WiFi HSPDA modem)");
printf("\ncommitment period = 6 month");
break;
}
printf("\nEnter your name = ");
scanf("%s",&name);
printf("\nIC number = ");
scanf("%d",&ic);
printf("\nGender (male/female) = ");
scanf("%s",&sex);
printf("\nAddress = ");
scanf("%s",&add);
printf("\nPhone number = ");
scanf("%d",p_num);
printf("\nStatus (mariage, engage or single)");
scanf("%s",&status);
printf("\nNationalism = ");
scanf("%s",&nationalism);


printf("\n====================================================================");
printf("\nNAME : %s",name);
printf("\nIC : %d",ic);
printf("\nGENDER : %s",sex);
printf("\nADDRESS : %s",add);
printf("\nPHONE NUMBER : %d",p_num);
printf("\nSTATUS : %s",status);
printf("\nNATIONALITISM : %s",nationalism);
printf("\nSUBCRIBED PLAN : %d",plan);
printf("\n====================================================================");

return 0;
}
What is your problem?
1. No, we will not "solve it for you". Do your own homework. We'll give you hints, though.
2. As stated above... what is the problem?
Topic archived. No new replies allowed.