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
Six forces act on a beam that forms part of a building's
IrinaVladis [17]

Answer:

<h2> FA = 13 kN </h2><h2>FG = 15.3 kN</h2>

Explanation:

write each force in terms of magnitude and directions  

Fx = F sin Ф

Fy = F cos Ф

where Ф is to be measured from x axis.

∑F at y = o

FAy + FBy + FCy + FDy + FEy + FGy = 0

∑F at x = o

FAx + FBx + FCx + FDx + FEx + FGx = 0

Let  

FA = FA sin (110)   +   FA cos (110)

FB = 20 sin (270)  +  20 cos (270)

FC = 16 sin (140)    +  16 cos (140)

FD = 9 sin (40)       +  9 cos (40)

FE = 20 sin (270)    +  20 cos (270)

FG = FG sin (50)     +  FG cos (50)

add x and y forces:

FAx + FBx + FCx + FDx + FEx + FGx = 0

FAy + FBy + FCy + FDy + FEy + FGy = 0

FA sin (110)  + 0  + 16 sin (140)  + 9 sin (40)  + 0   + FG sin (50) = 0

FA cos (110) - 20 + 16 cos (140) + 9 cos (40) - 20 + FG cos (50 = 0

FA sin (110)  + 0  + 10.285  + 5.785  + 0   + FG sin (50) = 0

FA cos (110) - 20 - 12.257 + 6.894 - 20 + FG cos (50) = 0

FA sin (110)  + 16.070 + FG sin (50) = 0        

FA cos (110) - 45.363 + FG cos (50) = 0

solving for FA, and FG

FA = 13 kN

FG = 15.3 kN

7 0
3 years ago
¿Cuándo se formarán cristales en una mezcla que se está evaporando?
Georgia [21]
Answer - La cristalización ye un procesu químicu pol cual a partir d'un gas, un líquidu o una disolución, los iones, átomos o molécules establecen enllaces hasta formar una rede cristalina, la unidá básica d'un cristal. La cristalización emplegar con bastante frecuencia en química para purificar una sustancia sólida.
5 0
3 years ago
What is the term RF exiciter?
Sati [7]
The exciter provides fully coherent receiver local oscillator signals at radar frequency band as well as requisite, auxiliary high frequency clock signals. The exciter function is divided into an internal frequency synthesizer and an upconverter.

Hope this helps :)))
7 0
2 years ago
A steam power plant operates on an ideal reheat- regenerative Rankine cycle and has a net power output of 80 MW. Steam enters th
trasher [3.6K]

Answer:

flow(m) = 54.45 kg/s

thermal efficiency u = 44.48%

Explanation:

Given:

- P_1 = P_8 = 10 KPa

- P_2 = P_3 = P_6 = P_7 = 800 KPa

- P_4 = P_5 = 10,000 KPa

- T_5 = 550 C

- T_7 = 500 C

- Power Output P = 80 MW

Find:

-  The mass flow rate of steam through the boiler

-  The thermal efficiency of the cycle.

Solution:

State 1:

P_1 = 10 KPa , saturated liquid

h_1 = 192 KJ/kg

v_1 = 0.00101 m^3 / kg

State 2:

P_2 = 800 KPa , constant volume process work done:

h_2 = h_1 + v_1 * ( P_2 - P_1)

h_2 = 192 + 0.00101*(790) = 192.80 KJ/kg

State 3:

P_3 = 800 KPa , saturated liquid

h_3 = 721 KJ/kg

v_3 = 0.00111 m^3 / kg

State 4:

P_4 = 10,000 KPa , constant volume process work done:

h_4 = h_3 + v_3 * ( P_4 - P_3)

h_4 = 721 + 0.00111*(9200) = 731.21 KJ/kg

State 5:

P_5 = 10,000 KPa , T_5 = 550 C

h_5 = 3500 KJ/kg

s_5 = 6.760 KJ/kgK

State 6:

P_6 = 800 KPa , s_5 = s_6 = 6.760 KJ/kgK

h_6 = 2810 KJ/kg

State 7:

P_7 = 800 KPa , T_7 = 500 C

h_7 = 3480 KJ/kg

s_7 = 7.870 KJ/kgK

State 8:

P_8 = 10 KPa , s_8 = s_7 = 7.870 KJ/kgK

h_8 = 2490 KJ/kg

- Fraction of steam y = flow(m_6 / m_3).

- Use energy balance of steam bleed and cold feed-water:

                                        E_6 + E_2 = E_3

               flow(m_6)*h_6 + flow(m_2)*h_3 = flow(m_3)*h_3

                                    y*h_6 + (1-y)*h_3 = h_3

                                  y*2810 + (1-y)*192.8 = 721

Compute y:                          y = 0.2018

- Heat produced by the boiler q_b:

                             q_b = h_5 - h_4 +(1-y)*(h_7 - h_8)

                    q_b = 3500 -731.21 + ( 1 - 0.2018)*(3480 - 2810)

Compute q_b:               q_b = 3303.58 KJ/ kg

-Heat dissipated by the condenser q_c:

                                       q_c = (1-y)*(h_8 - h_1)

                                 q_c= ( 1 + 0.2018)*(2810 - 192)

Compute q_c:               q_c = 1834.26 KJ/ kg

- Net power output w_net:

                                     w_net = q_b - q_c

                                w_net = 3303.58 - 1834.26

                                    w_net = 1469.32 KJ/kg

- Given out put P = 80,000 KW

                                     flow(m) = P / w_net

compute flow(m)          flow(m) = 80,000 /1469.32 = 54.45 kg/s

- Thermal efficiency u:

                                     u = 1 - (q_c / q_b)

                                     u = 1 - (1834.26/3303.58)

                                     u = 44.48 %

5 0
3 years ago
HELP PLEASE
Sveta_85 [38]

..........23÷357=0.0644257703........

8 0
2 years ago
Other questions:
  • Show from the first principles that, for a perfect gas with constant specific heat capacities
    14·1 answer
  • The diffusion coefficients for species A in metal B are given at two temperatures:
    12·1 answer
  • A simply supported wood roof beam is loaded with single point dead and roof live loads applied at midspan (PD = 400 lb, PLr = 16
    9·1 answer
  • Write a C program that will update a bank balance. A user cannot withdraw an amount ofmoney that is more than the current balanc
    13·1 answer
  • In a semiconductor manufacturing process, three wafers from a lot are tested. Each wafer is classified as pass or fail. Assume t
    15·1 answer
  • Which part does NOT rotate when the engine is running and the clutch pedal is depressed?
    7·1 answer
  • Kim is working on the cost estimate and feasible design options for a building. Which stage of a construction plan is Kim workin
    5·1 answer
  • These are the most widely used tools and most often abuse tool​
    15·2 answers
  • Is santa real or nah is santa real or nah
    7·2 answers
  • Primary mental skills needed for riding a motorcycle
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!