The correct answer for the for loop is:
for (int i=1; i<200; i++){
if ((i%2)==0 && (i%3)==0){
cout << i << " ";
}
}
Python offers three options for running the loops. For iterating repeatedly through a sequence, use a for loop (that is either a list, a tuple, a dictionary, a set, or a string). This functions more like an iterator method seen in other object-oriented programming languages and is less like the for keyword found in other programming languages. The for loop allows us to run a series of instructions once for each element of a list, tuple, set, etc. There is no need to set an indexing variable before using the for loop.
Write a for loop that prints, in ascending order, all the positive integers less than 200 that are divisible by both 2 and 3, separated by spaces.
Learn more about loops here:
brainly.com/question/25955539
#SPJ4
Answer:
1.Occupancy days $3,760
Electrical costs $10,528
Variable cost=2.80
Fixed cost=$650
2. Seasonal factors
Systematic factors
Number of days
Explanation:
1.Calculation using high and low method for both Occupancy days and Electricity cost
Occupancy Electrical
Days Costs
High activity level 4,410 12,998
Low activity level 650 2,470
Change 3,760 10,528
Calculation for Variable cost of electricity per occupancy-day.
Using this formula
Variable cost= Electricity cost/Occupancy days
Let plug in the formula
Variable cost=10,528/3,760
Variable cost=2.80
Calculation for Fixed cost of electricity per month
Fixed cost=2,470-(650*2.80)
Fixed cost=2,470-1,820
Fixed cost=$650
2. Factors that are likely to affect the variation in electrical costs from month to month will include the following:
Seasonal factors
Systematic factors
Number of days
Seasonal factors can either be winter or summer.
Systematic factors include either having guests, To switch off fans as well as lights.
Number of days are days that are present in a month.
Answer:
c. The capital gain would be automatically re-invested at NAV if not taken in cash while the purchase of the shares would occur at POP including a sales charge.
Explanation:
An Asset appreciation doesn't in any way complete a breakpoint for a client. The client agreed to buy $50,000 of fund shares under a Letter of Intent to get a lower sales charge. If the customer doesn't deposit the full $50,000, then the sales charge is calculated to a higher percentage, which is based on the customer's purchase. The customer must deposit another $10,000 to complete the breakpoint.
If the customer were to take the capital gains distribution as cash and use that money to buy additional shares to complete the breakpoint, the customer would then have to pay a sales charge, which would be lower because the breakpoint is being completed. The customer must know that if the capital gains distribution were reinvested, it would occur at NAV and there would be no sales charge increase in sales charge. Whether the capital gain is taken as cash or it is reinvested, it is taxable.
Good point things don’t make sense like this but I’m answering my first question