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
natka813 [3]
3 years ago
14

Assume the following variables are defined: int age; double pay; char section; write a single c instatement that will read input

into each of these variables. in c ++
Computers and Technology
1 answer:
JulsSmile [24]3 years ago
5 0

Answer:

scanf("%d %lf %c", &age, &pay, &section);

Explanation:

To read the value in c program, the instruction scanf is used.

To read the integer value, use the %d format specifier in the scanf and corresponding variable name age with ampersand operator.

To read the double value, use the %lf format specifier in the scanf and corresponding variable name pay with ampersand operator.

To read the character value, use the %c format specifier in the scanf and corresponding variable name section with ampersand operator.

You might be interested in
How much would you guys pay for a used ps4 with a black ops 3 disc?
Oxana [17]

Answer:

about like 12 dollars

Explanation:

just cus it’s USED

4 0
2 years ago
What's the difference in unicode value between 'e' and 'a'? (consult a table of unicode values):?
ddd [48]
-4






--------------------------------------
3 0
3 years ago
When can designers use rapid application development? HELP ASAP
Bess [88]

I pretty sure you it’s the third one c.

6 0
3 years ago
Select L for the items that refer to General Lee, H for General Halleck, and M for General McClellan.
Naily [24]

The letters that represent the names of the individuals associated with the various actions are; M, L, H, M, L

<h3>What were the Activities of Railroad Presidents?</h3>

1) The person that removed from command twice for being overly cautious was General McClellan.

2) The person that felt a victory in the North would turn public opinion against the war was General Lee.

3) The person that retreated to Washington, leaving the Confederates free to attack the North was General Halleck

4) The person that stopped the Confederate Army at Antietam was General McClellan.

5) The person that was offered command of Union Army after Fort Sumter was General Lee.

Read more about history of railroad Presidents at; brainly.com/question/25997960

7 0
3 years ago
Who has gotten a random file link from someone? What file does it contain?
Bad White [126]

Answer:

those are bots , just report those

Explanation:

8 0
3 years ago
Read 2 more answers
Other questions:
  • If parties in a contract are not _______, the contract can be canceled.
    7·1 answer
  • During working hours an electrician should not wear
    13·1 answer
  • What is credibility in the often-used framework of quality criteria?
    9·1 answer
  • Write the java statement to creat an object mp4 class digital​
    8·1 answer
  • A Gym Masters system programmer has just installed the first Windows Server 2016 sys- tem and now needs to do an initial configu
    13·1 answer
  • 30 POINTS!!!
    9·2 answers
  • Which type of tools enable you to choose only a portion of the image
    13·1 answer
  • Who tryna play fortnite?
    5·2 answers
  • Which guideline would not promote energy conservation?
    15·1 answer
  • State three advantage and disadvantages of Laser printer ​
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!