Messy messy code... *sigh*
Ok first: a; does not mean anything - you need to define a as a variable with a type. cin>>a is missing a semicolon (;) b=a; you never declared b. if(a=3) should be if (a == 3)else {b=a]4; - just no... system("pause") another semicolon missing.
Apart from that I can't see more mistakes by just looking at the code, tell me if you get it to work or not :)