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
When using linear or reciprocal navigation, what should be the interface include?
Alex_Xolod [135]
The answer to the question is A
5 0
3 years ago
you'll be organizing the various databases in your organization, and have recommended hiring a/an?A. internet specialist B. comp
jek_recluse [69]
Either c or d, most probably D
7 0
3 years ago
Read 2 more answers
Explain the following as used in Tally Accounting Software:
vaieri [72.5K]
Business transactions
3 0
3 years ago
Darian is preparing for a presentation about the poor condition of the locker rooms at school. Match each of the key components
Gemiola [76]

Answer:

Purpose - To paurswade the board to change the conditions of the locker room

Topic - Locker room condition

Method - Electronic Slideshow

Audience - School Board

7 0
2 years ago
What are the guidelines for creating forms and reports?
Genrish500 [490]

Answer:

 Form and reports are the documents which are used to create for include the information according to the particular requirements. These are the types of documents which include some extra information in the predefined information according the particular needs and requirements.

The following are the guidelines when developing forms and reports are:

  • If the data or information is in the form of table then, use the query module for defining the particular relationship of table.
  • Use the proper syntax and appropriate language to define the information in the forms and reports so, it become easy to the users or customers for access the information.
  • During the form development, we can also provide the validation requirement and many toolbar buttons to make easy for users.
7 0
3 years ago
Other questions:
  • Waterpower was first harvested by ancient societies using
    5·1 answer
  • You should use _____ software for writing a letter.
    10·1 answer
  • ICT excel data homework
    10·1 answer
  • Evaluating how current, credible, and unbiased a source is ensures:
    7·1 answer
  • Web browsers are used to browse the world wide web.
    5·2 answers
  • Amazon.com uses a customer profiling system whenever a customer visits its website. using this system, amazon can offer products
    6·1 answer
  • Neymar machine that Run on electricity
    11·1 answer
  • Which of these words is used to begin a conditional statement?<br> when<br> input<br> if<br> until
    8·1 answer
  • Select the correct answer.
    14·1 answer
  • Each of the flowchart segments in Figure 3-24 is unstructured. Redraw each segment so that it does the same processes under the
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!