US President Barack Obama has hit out at Republican Mitt Romney during a feisty 90-minute encounter in the second of three pre-election debates, BBC reports.Mr Obama – widely perceived to have lost their first encounter – came out swinging in New York on the economy, tax and foreign policy. But the former Massachusetts governor accused Mr Obama of broken promises and a record of failure. The pair meet for a final pre-election debate in Florida on 22 October.As he battles for a second term, the Democratic president has been trying to hold on to dwindling leads in the nine key swing states that are expected to decide the election on 6 November. In the town hall-style forum at Hofstra University on Long Island, both men freely roamed the stage, circling, interrupting and at times heckling one another as they took questions from an audience of 80 undecided voters. The moderator, CNN’s Candy Crowley, often had to intervene to keep order between the rivals as each fought to make his point. Mr Obama set the tone from his first answer, when he contrasted his own bailout of the US car industry with Mr Romney’s position that auto-makers should have been allowed to go bankrupt. The president forcefully accused Mr Romney of inconsistent positions, while claiming that his challenger could only offer a “one-point plan… to make sure the folks at the top play by a different set of rules”.Mr Romney meanwhile hammered away at the president’s record on the economy, blaming him for unemployment of 20 million Americans and bloated federal deficits, insisting the country could not afford another four years with Mr Obama at the helm. In one of the most scathing exchanges, they bickered over last month’s attack on the US Libya consulate that left four Americans dead. Mr Romney suggested the Obama administration may have attempted to mislead Americans over whether it was a terrorist attack. But the president said it was “offensive” to suggest that he had played politics on such a grave issue. He countered that it was the Republican who had tried to turn a national tragedy to his advantage by releasing a partisan press release about the deadly assault. As the debate progressed, both candidates made repeated and impassioned pitches to America’s middle class.Mr Obama said he had cut taxes for middle class families and small businesses over the last four years. But he said that if America was serious about reducing the deficit, the wealthy would have to pay a little bit more.“Governor Romney and his allies in Congress have held the 98% hostage because they want tax breaks for the 2%,” said Mr Obama. In his final answer he responded to an assertion by Mr Romney that the Republican would represent “100% of Americans” by bringing up Mr Romney’s secretly recorded remarks at a fundraiser in May.In those remarks the challenger dismissed 47% of Americans as government-dependent tax avoiders who take no responsibility for their lives. “When he said behind closed doors that 47% of the country considers themselves victims who refuse personal responsibility – think about who he was talking about,” the president said. Mr Obama said voters had heard no specifics on Mr Romney’s “sketchy” tax plan apart from eliminating Sesame Street’s Big Bird and cutting funding for Planned Parenthood, a family planning organisation Republicans say promotes abortion.“Of course it adds up,” Mr Romney said of his tax plan. He cited his experience balancing budgets in business, while running the 2002 Olympics and as governor of Massachusetts.