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
Consumer surplus is difference between the amount that consumers are willing and able to pay for a good or service
In this case, Nicki is willing to pay $1,100 for the camera, but she is only asked to pay 900. So Nicki has a consumer surplus of $200
The amount of stockholder's equity is calculated as -
Total stockholder's equity = Common stock issued + Additional paid in capital + Retained earnings - Treasury capital
Total stockholder's equity = $ 12,000 + 11,000 + $ 12,000 - $ 4,000
Total stockholder's equity = $ 31,000