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]
2 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]2 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 closed, rigid tank is filled with a gas modeled as an ideal gas, initially at 27°C and a gage pressure of 300 kPa. If the gas
ch4aika [34]

Answer:

gauge pressure is 133 kPa

Explanation:

given data

initial temperature T1 = 27°C = 300 K

gauge pressure = 300 kPa = 300 × 10³ Pa

atmospheric pressure = 1 atm

final temperature T2 = 77°C = 350 K

to find out

final pressure

solution

we know that gauge pressure is = absolute pressure - atmospheric pressure so

P (gauge ) = 300 × 10³ Pa - 1 × 10^{5} Pa

P (gauge ) = 2 × 10^{5} Pa

so from idea gas equation

\frac{P1*V1}{T1} = \frac{P2*V2}{T2}   ................1

so {P2} = \frac{P1*T2}{T1}

{P2} = \frac{2*10^5*350}{300}

P2 = 2.33 × 10^{5} Pa

so gauge pressure = absolute pressure - atmospheric pressure

gauge pressure = 2.33 × 10^{5}  - 1.0 × 10^{5}

gauge pressure = 1.33 × 10^{5} Pa

so gauge pressure is 133 kPa

4 0
3 years ago
Which of the following scenarios describes someone who is a materials engineer?
solong [7]

Answer: Kristin is currently modifying a newly discovered plastic material to work on a new lightweight lacrosse stick.

Explanation:

The main function of a materials engineer is to develop, study and test materials that are used on order to make different products.

Material engineer solve problems in other engineering fields, like electrical, aerospace, civil, mechanical, chemical, and nuclear.

From the information given in the question, the correct option is "Kristin is currently modifying a newly discovered plastic material to work on a new lightweight lacrosse stick."

4 0
3 years ago
The artifacts that expand what humans are able to do are called:.?
omeli [17]
Where you from?England has so many school subjects,but my country hasn’t got it.Do you like it
5 0
3 years ago
As a parent, you have a responsibility to ensure the safety of your family. Which of the safety concerns listed below would be c
Furkat [3]

Answer:

B and C

Explanation:

4 0
2 years ago
The power supply converts the wall outlet AC power into DC power. T or F
Alika [10]

Answer:

True

Explanation:

All computer parts require DC power to operate, and wall outlets provide AC Power.

7 0
3 years ago
Other questions:
  • 5. Which of these least accurately describes what happens when abnormal combustion raises the temperature and pressure inside th
    8·1 answer
  • List and describe three classifications of burns to the body.
    13·2 answers
  • What is the biggest expectation when engineers test out designs?
    5·2 answers
  • What does basic levels of competence involves??​
    13·2 answers
  • Can anyone tell me what rock this is?
    7·2 answers
  • Chad is working on a design that uses the pressure of steam to control a valve in order to increase water pressure in showers. W
    10·1 answer
  • Some chemical reaction is being run inside a sealed gas cylinder. During the reaction, a gaseous product is formed. The pressure
    14·1 answer
  • Suggest how the following requirements might be rewritten in a
    8·1 answer
  • PLEASE QUICK!!! what phrase describes an ad hominem fallacy?
    14·1 answer
  • How do you use the brakes in an airplane?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!