You don't even have to exercise (even though it doesn't hurt, of course) if you eat less calories than you use, you lose weight. If you only eat junkfood until you reach that limit however, its not very healthy.