2. Find out the number of operations taking place in the codes given below. Both codes are 90% similar. Thus carefully determine the number of operations in each of these.