consider an array marks[20][5]which stores the marks obtained by 20 students in 5 subjects
write a 2D array to show average of 5 subjects for 20 students
In the mid-1990s, time magazine reported that 27% of the US Congress supported a tax cut as a means of stimulating the economy and increasing Tax revenues. Suppose at that time five members of congress were randomly selected for an interview and asked whether they supported the tax cut to stimulate the economy.
Find the probability that:
2.1 At least three of the five members were in favour of a tax cut. (6)
2.2 Less than five members were in favour of a tax cut. (6)
2.3 Not more than 3 members were in favour of the tax. (6)
2.4 Find the mean of the above distribution (6)
2.5 Find the variance and standard deviation of the above distribution (6)
what is the probability that at least five out of 20 young executives practice good reading habits
A rigid tanks contains a perfect gas with R = 2.08 KJ/kg-K and k = 1.67. Calculate the final temperature in C if it initially at 30C and 15KJ/kg of heat is added
A tank contains 80 of air at a pressure of 350 psi; If the air is cooled until its pressure and temperature decreases to 200 psi and 80F respectively, what is the decrease in internal energy in Btu.
Consumer spends all his or her income on food (X) and clothing (y). The current prices are p1 10 birr and P2 5birr and he or she maximizes utility by purchasing 20 units of X and 50 units of y.find how much he or she will purchase if she or he spends the entire income on x
This one is a bit tricky. You're going to have to isolate each digit of the integer to determine which one is the largest, so good luck!
Instructions:
This one is a bit tricky. You're going to have to isolate each digit of the integer to determine which one is the largest, so good luck!
Instructions:
Input a 3-digit integer.
Print the largest digit in the integer.
Tip #1: Use % 10 to get the rightmost digit. For example, if you do 412 % 10, then the result would be the rightmost digit, which is 2.
Tip #2: On the other hand, use / 10 to remove the rightmost digit. For example, if you do 412 / 10, then the result would be 41.
Tip #3: You'd have to repeat Tip #1 and Tip #2 three times for this problem because the input is a 3-digit integer.
Provide a brief explanation on how the South African economic growth had been performing
since 2000. Further, what conclusions can be drawn from fuel tax increase effects on the
economic growth and public social welfare.