The statements in the loop heading have fixed number of operations, hence they have constant running time O(1) when executed only once. The statement in the loop body has fixed number of operations, hence it has a constant running time when executed only once. Find how many times each statement is executed.
List of Massachusetts locations by per capita income topic Massachusetts is the third richest state in the United States of America , with a per capita income of $25,952 (2000) and a personal per capita income of $39,815 (as of 2003).
Living in Newton costs more than living in most of the United States, and more than most places in Massachusetts for that matter. This may explain may explain why it had the highest median income of any large city, at over $125,000. MORE: See the complete list of America's 50 best cities to live in Based on a range of variables, including crime rates, employment growth, educational attainment, and housing affordability, 24/7 Wall St. identified .