Answer:
numMugs=input(); #take input from the user and store it on a numMugs variable.
print ('Number of mugs:'+numMugs) #print the numMugs variable value with the Number of mugs: line.
Output:
- If the input is 8 then the program is print Number of mugs: 8.
- If the input is 'Harry' then the program is print Number of mugs: Harry.
Explanation:
- The above program is in python language with the two statements one in input and the other is output.
- The first line takes input and stores it into a variable named "numMugs".
- The second line print the value as Number of mugs: value_of_numMugs.
- The above program works for any type of input. It can work for the string data type or integer data type or character data type or any other data type.
Answer:
Un programa de computadora es un conjunto de instrucciones que una computadora puede entender, escrito en un lenguaje de programación específico, en el caso de lenguajes de bajo nivel también en una arquitectura de computadora específica. En la mayoría de los casos, los programas se compilan en un formato que la computadora puede entender. A su vez, el conjunto de programas de una computadora es denominado software, mientras que una aplicación es un tipo específico de programa informático, especialmente utilizado en teléfonos móviles.
<em />It is necessary, because when engineers build the design or model, they need to make sure that it does not turn out 2 dimensional but,also so that they can make their"project"more accurate and not just up or whatever."As a general guideline to dimensioning, try to think that you would make an object and dimension it in the most useful way. Put in exactly as many dimensions as are necessary for the crafts person to make it -no more, no less. Do not put in redundant dimensions. Not only will these clutter the drawing, but if "tolerances" or accuracy levels have been included, the redundant dimensions often lead to conflicts when the tolerance allowances can be added in different ways.
<span>Repeatedly measuring from one point to another will lead to inaccuracies. It is often better to measure from one end to various points. This gives the dimensions a reference standard. It is helpful to choose the placement of the dimension in the order in which a machinist would create the part. This convention may take some experience."This may or may not help but it will give you an idea to what your looking for.</span>