What is the molar mass of magnesium
Write a program that takes in an integer in the range 11-100 as input. The output is a countdown starting from the integer, and stopping when both output digits are identical. End with a newline.
Ex: If the input is:
93
the output is:
93 92 91 90 89 88
Ex: If the input is:
11
the output is:
11
Ex: If the input is:
9
Given a line of text as input, output the number of characters excluding spaces, periods, exclamation points, or commas.
Ex: If the input is:
Listen, Mr. Jones, calm down.
the output is:
21
Note: Account for all characters that aren't spaces, periods, exclamation points, or commas (Ex: "r", "2", "?").
What is semantics
The program has the following structure:
• Declare three int variables nrPupils, nrGroups, and nrLeft. nrPupils represents the number of pupils in a class, nrGroups represents the number of groups the class is divided into, and nrLeft represents the number of pupils, if any, who are in the remaining smaller group.
• Assign the value 56 to nrPupils.
• Declare an int variable groupSize that is used by a cin statement to input a value from the keyboard and store the size of the groups the teacher requested. Display an appropriate message. E.g. Please enter the size of each group?
• Write the statement to calculate the number of groups of size groupSize.
• Write the statement to calculate the number of pupils who are in the remaining smaller group.
Write a query which displays staff name, department code, department name, and salary for all staff who earns more than 20000
What is the role of the modern institution in solving illegal mining
In Mendel’s genetic experiments many characteristics of the plants were quantified, such as their height (tall or short), flower position (axial or terminal), and seed color (colored or white). Suppose 100 plants are measured, and 35 are tall with axial flowers and colored seeds. Further, suppose a total of 25 plants have white seeds, 4 of them being short and 6 having terminal flowers. There are no short plants with terminal flowers, and the total number of short plants is 25. Construct a venn diagram with circles illustrating the three characteristics short, terminal, and white. Indicate the number of plants in each region os the diagram.
14. The primary function of a summative assessment is to:
1.
check prior knowledge
2.
determine mastery of content
3.
guide ongoing instruction
4.
measure acquisition of content
Get the number of reactions (likes/dislikes) generated in each hour of the day in the year 2020.
Note:
For this question, convert thehour_of_dayin string datatype to INT datatype.
Sort the output in the ascending order ofhour_of_day