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
Simora [160]
3 years ago
7

What stdio.h input function would be used to get input from the user by the keyboard? Write the code to obtain the voltage drop

across a resister from the user. Assume the input variable is called vr1. What stdio.h output function would be used to provide output to the monitor?
Computers and Technology
1 answer:
torisob [31]3 years ago
8 0

Answer:

scanf() function is used to get a input from keyboard.This function is in the stdio.h library.To use this function we must include the stdio.h library first in the code. Then only we can use the scanf() function in any code.printf() function is used to print anything .this function is from stdio.h library.

Code to read voltage drop across the register.

#include <stdio.h>

// main function

int main(void) {

// variable

double vr1;

printf("Enter voltage drop:");

// read  voltage drop from user

scanf("%lf",&vr1);

// print voltage drop

printf("voltage drop is:%0.2lf",vr1);

return 0;

}

Output:

Enter voltage drop:200.4                                                                                                  

voltage drop is:200.40

You might be interested in
Discussion Topic
Elina [12.6K]

Robotics systems are systems that provide information based on artificial intelligence. These types of systems can be best employed in medical research, forensics, agriculture, etc.

<h3>What are robotic systems?</h3>

A robotic system is a use of a machine or the robots with artificial intelligence that are used to perform many various tasks like in automobile industries, health care, military, agriculture, etc.

A robotic system with computer vision can be used in medical treatment and research as they will help assist with complex surgeries, in agriculture to increase crop productivity and manage pests.

Therefore, robotics can be used in the military, food preparation, agriculture, health care, etc.

Learn more about robotic systems here:

brainly.com/question/12279369

#SPJ1

4 0
2 years ago
Need help answering this
elena55 [62]
I think it is c if that helps x
3 0
3 years ago
What question should you ask yourself to determine if a story is newsworthy
Dvinal [7]

Would other people find this intresting and does it really matter?

6 0
3 years ago
Read 2 more answers
Chunking is a good strategy for completing large assignments because it makes the work
Bess [88]

Answer:

ExChunking is a good strategy for completing large assignments because it makes the work

less boring.

more thorough.

less difficult.

more manageable.planation:

Explanation: less difficult (C)

8 0
3 years ago
Read 2 more answers
There are _______ bits to every byte.
MrMuchimi

8. according to Google, 1 byte = 8 bits

7 0
3 years ago
Read 2 more answers
Other questions:
  • What car dealership websites did you use to conduct your research?​
    8·1 answer
  • Which of the following statements is true of a database? a. It is a collection of unstructured data. b. It is accessed primarily
    14·1 answer
  • What types of data are commonly entered into a cell ?
    7·2 answers
  • The LTE (cellular telephone) standard supports only packet switching"". What cellular services are morst affected by this change
    15·1 answer
  • Alex leads a team of eight members. Arrange his tasks in sequential order of phases of group dynamics. What are the stages in gr
    13·1 answer
  • All ofthe following are correct EXCEPT one option when it comes towriting disappointing news letters. Identify theexception.
    6·1 answer
  • . Once a vulnerability has been identified by Nessus, where would you check for more information regarding the identified vulner
    15·1 answer
  • This library function returns a random floating point number within a specified range of values. The function returns a random f
    12·1 answer
  • What do you call the spreadsheet cell that is in effect and has a heavier black border around it?
    7·2 answers
  • Find the Nearest Repeated Entries in an Array People do not like reading text in which a word is used multiple times in a short
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!