1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Arada [10]
3 years ago
7

Write a single statement to print: user_word,user_number. Note that there is no space between the comma and user_number. Sample

output with inputs: 'Amy' 5
Engineering
1 answer:
kykrilka [37]3 years ago
8 0

Answer:

cout<<"''<<user_word<<"' "<<user_number;

Explanation:

The above question was answered using C++ programming language.

The keyword cout represents print and it carries out print operation only.

It prints all variable in front of it.

Assume the values of user_word and user_number to be Charles and 20, respectively.

The output of the above instruction would be

'Charles' 20 just as it is in the sample output in the question.

In java programming language, it is

System.out.print("'"+user_word+"' "+user_number);

In Qbasic, it is

PRINT "'"+user_word+"' "+ user_number

You might be interested in
A sleeve made of SAE 4150 annealed steel has a nominal inside diameter of 3.0 inches and an outside diameter of 4.0 inches. It i
irga5000 [103]

Answer:

Class of fit:

Interference (Medium Drive Force Fits constitute a special type of Interference Fits and these are the tightest fits where accuracy is important).

Here minimum shaft diameter will be greater than the maximum hole diameter.

Medium Drive Force Fits are FN 2 Fits.

As per standard ANSI B4.1 :

Desired Tolerance: FN 2

Tolerance TZone: H7S6

Max Shaft Diameter: 3.0029

Min Shaft Diameter: 3.0022

Max Hole Diameter:3.0012

Min Hole Diameter: 3.0000

Max Interference: 0.0029

Min Interference: 0.0010

Stress in the shaft and sleeve can be considered as the compressive stress which can be determined using load/interference area.

Design is acceptable If compressive stress induced due to selected dimensions and load is less than compressive strength of the material.

Explanation:

4 0
3 years ago
Read 2 more answers
Carnot heat engine A operates between 20ºC and 520ºC. Carnot heat engine B operates between 20ºC and 820ºC. Which Carnot heat en
nikklg [1K]

Answer:

engine B is more efficient.

Explanation:

We know that Carnot cycle is an ideal cycle for all working heat engine.In Carnot cycle there are four processes in which two are constant temperature processes and others two are isentropic process.

We also kn ow that the efficiency of Carnot cycle given as follows  

\eta =1-\dfrac{T_1}{T_2}

Here temperature should be in Kelvin.

For engine A

\eta =1-\dfrac{T_1}{T_2}

\eta =1-\dfrac{273+20}{520+273}

\eta =0.63

For engine B

\eta =1-\dfrac{T_1}{T_2}

\eta =1-\dfrac{273+20}{820+273}

\eta =0.73

So from above we can say that engine B is more efficient.

4 0
3 years ago
There is an electric field near the Earth's surface whose magnitude is about 145 V/m . How much energy is stored per cubic meter
weqwewe [10]

Answer:

u_e = 9.3 * 10^-8 J / m^3  ( 2 sig. fig)

Explanation:

Given:

- Electric Field strength near earth's surface E = 145 V / m

- permittivity of free space (electric constant) e_o =  8.854 *10^-12 s^4 A^2 / m^3 kg

Find:

- How much energy is stored per cubic meter in this field?

Solution:

- The solution requires the energy density stored between earth's surface and the source of electric field strength. The formula for charge density is given by:

                                        u_e = 0.5*e_o * E^2

- Plug in the values given:

                                        u_e = 0.5*8.854 *10^-12 *145^2

                                        u_e = 9.30777 * 10^-8  J/m^3

5 0
3 years ago
A right triangle has a base of 12 inches and a height of 30 inches, what is the centroid of the triangle?​
aliina [53]

Answer:

the correct answer is 42

4 0
3 years ago
In the last 5 meters of braking, you lose ___ of your speed.
expeople1 [14]

Answer:

answer is

a)

3/4

Explanation:

In the last 5 meters of braking, you lose 3/4 of your speed.

5 0
3 years ago
Other questions:
  • 4.71 A full-wave rectifier circuit with a 1-kΩ operates from a 120-V (rms) 60-Hz household supply through a 6-to-1 transformer h
    10·1 answer
  • An electric current of transports of charge. Calculate the time this took. Be sure your answer has the correct unit symbol and s
    5·1 answer
  • Convert mechanical energy into electric energy. What can he use?
    13·1 answer
  • Why is the lubrication system of an internal combustion engine equipped with an oil filter?
    11·1 answer
  • My t!t$ feel sore and heavyy
    13·1 answer
  • Draw a sketch of the following situations identifying the system or control volume, and the boundary of the system or the contro
    10·1 answer
  • Please look at the attachments and help me with these questions
    7·1 answer
  • Find the value of L
    9·1 answer
  • If a front gear had 24 teeth, and a rear gear has 12 teeth:
    12·1 answer
  • 15- Vipsana's Gyros House sells gyros. The cost of ingredients (pita, meat, spices, etc.) to make a gyro is $2.00. Vipsana pays
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!