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).
National per capita income stood at $49,571. The nation's highest 2016 per capita income was again in Connecticut, at $71,033. Within Virginia, the Northern region again had the highest per capita personal income in 2015 at $67,548 (in 2015 dollars), though it has yet to regain the peak ($69,891 in 2015 dollars) attained in 2007.