Answer:
D. nothing, as the alkyne would not react to an appreciable extent.
Explanation:
Nothing, as the alkyne would not react to an appreciable extent.
Answer:
It's good to consider this as a dictionary, with key-value pair, or as a two-dimensional array.
And in the first case, the code will be as below:
day_i={'Bob':'100', 'Alice':'100','Celia':'110','Bob':'200'}
for k, v in day_i.items():
print(k, v)
Explanation:
The above code reads through each day, and each customer purchase amount in the form of Dictionary, and prints each customer name and purchase amount. And with little enhancement, we can create each day data, and print details of the day, as being asked by the user.
Answer:
The correct program to this question as follows:
Program:
//header file
#include <stdio.h> //include header file for using basic function
int main() //defining main method
{
int amountToChange=19,numFives,numOnes; //defining variable
numFives = amountToChange/5; //holding Quotient
numOnes = amountToChange%5; //holding Remainder
printf("numFives: %d\n", numFives); //print value
printf("numOnes: %d\n", numOnes); //print value
return 0;
}
Output:
numFives: 3
numOnes: 4
Explanation:
In the above program first, a header file is included then the main method is declared inside the main method three integer variable is defined that are "amountToChange, numFives, and numOnes", in which amountToChange variable a value that is "19" is assigned.
- Then we use the numFives and the numOnes variable that is used to calculate the number of 5 and 1 , that is available in the amountToChange variable.
- To check this condition we use (/ and %) operators the / operator is used to hold Quotient value and the % is used to hold Remainder values and after calculation prints its value.
Answer:
A top-level domain or the TLD is the domain at the highest level in the hierarchy of the DNS. And that means in the Internet DNS. Also, the top-level domain is installed in the namespace toot zone. And the top-level domain is the .com, in general, to be named as the best one. The next two are the .net and .org. But since it is required to optimize the website for the mobile devices, we should select here .com.
Explanation:
Please check the answer section.
COMPLETE QUESTION:
Write a function nexthour that receives one integer argument, which is an hour of the day, and returns the next hour. This assumes a 12-hour clock; so, for example, the next hour after 12 would be 1. Here are two examples of calling this function.
>> fprintf('The next hour will be %d.\n', nexthour(3))
the next hour will be 4
>> fprintf('The next hour will be %d.\n', nexthour(12))
the next hour will be 1
Answer:
The following CODE in MATLAB will accomplish this
<em>>> nexthour = input('Please enter a time here: ');</em>
<em>if (nexthour >= 1) && (nexthour< 12)</em>
<em>nexthour = nexthour+ 1</em>
<em>elseif (nexthour == 12)</em>
<em>nexthour = 1</em>
<em>else </em>
<em>disp('You entered an invalid time')</em>
<em>end</em>
Explanation:
In the Matlab code above, the input function is used to receive a value for time in hours (1-12) next we use the if statement to check that the time entered is between 1 and 11 and add 1 as the next hour, else if the value entered is 12, we assign 1 as the next hour. For every other inputs an error message is displayed.