seach up this on goggle many great videos will pop up
Explanation:
<3
Answer:
total = 0
for i in range(4):
bill = float(input("Enter bill for quarter " + str(i+1) + ": "))
total += bill
average = total / (4 * 3)
if average > 75:
print("Average monthly bill is $" + str(average) + ". Too much water is being used")
if 25 <= average < 75:
print("Average monthly bill is $" + str(average) + ". A typical amount of water is being used")
if average < 25:
print("Average monthly bill is $" + str(average) + ". Thank you for conserving water")
Explanation:
*The code is in Python.
Create a for loop that asks the user to enter the bill for 4 quarters and calculate the total of the bills
Calculate the average monthly bill, divide the total by 12
Check the average for the given conditions. Depending on its value print the required message along with the average monthly bill
Answer:
I. Algorithms can be written using pseudocode.
II. Algorithms can be visualized using flowcharts.
Explanation:
An algorithm can be defined as a standard formula or procedures which comprises of set of finite steps or instructions for solving a problem on a computer. The time complexity is a measure of the amount of time required by an algorithm to run till its completion of the task with respect to the length of the input.
The two statements which are true about algorithms are;
I. Algorithms can be written using pseudocode. A pseudocode refers to the description of the steps contained in an algorithm using a plain or natural language.
II. Algorithms can be visualized using flowcharts. A flowchart can be defined as a graphical representation of an algorithm for a process or workflow.
Basically, a flowchart make use of standard symbols such as arrows, rectangle, diamond and an oval to graphically represent the steps associated with a system, process or workflow sequentially i.e from the beginning (start) to the end (finish).
Answer:
The answer to this question defined below.
Explanation:
It's a smart idea to get a common language for coding of every kind. It would help all developers and customers understand the language better because, in every case, there's no more need to learn, that language.
- This could also render software developed in the very same language consistent, and therefore, ports on multiple platforms are not required.
- In this process, we talk about the common property and function of the classes, that's why it is the correct answer.
Answer:
1.RGB: Best for projects intended to be used on the web or video
Explanation:
On websites or making project RGB combination of colors is used. This combination of colors is used to store images in electronic components.
2. CMYK: best for professional printing projects using process colors
Explanation:
Printing professional use CMYK combinations of color for better printing results.
3.) indexed:The only colors saved are the colors used in the image
To manage digital images we use Indexed mode of colors.
Explanation:
4.) bitmap: uses black and white
Explanation:
bitmap is the combination of the black and white colors. As the images are large in size so that, to reduce the size of the image we store image in bitmap to reduce the size.
5.) gray scale: uses different shades of grey
Explanation:
The different shades of gray colors are found in the gray scale. These shades are used to produce images.