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
Explain step-by-step how to rename a document (without opening it) that is filed in the My Computer/My Documents folder.
Lina20 [59]
You go on folder and double click on the title in your folder hope this is helpful :)
8 0
4 years ago
What does CPC stand for?
Ahat [919]
I think it means cost per click depending on the actual context of why you need it.
Hope it helps
6 0
3 years ago
Read 2 more answers
Fitbit is an example of....
strojnjashka [21]

Answer:

a monitor of ur heartbeat sleep breathing

Explanation:

3 0
4 years ago
Read 2 more answers
Which of the following is an example of a soft skill?
Lady bird [3.3K]
Answer is (B)

Helping a customer by answering a question whether on the phone of face to face is an example of soft skills. Such skills are developed through Effective communication, better listening skills, positivity, assertiveness, empathy, conflict resolution, and depersonalization. 
<span>Basically, if you have these skills when handling a customer, what they will remember is what they felt about your service.</span>

 
8 0
3 years ago
Read 2 more answers
Which of the following is an object-oriented programming language?
Svetradugi [14.3K]

Explanation:

This is the correct answer

<h3>python</h3>
7 0
2 years ago
Other questions:
  • You are given a string of n characters s[1 : : : n], which you believe to be a corrupted text document in which all punctuation
    12·1 answer
  • A ______________ deals with the potential for weaknesses within the existing infrastructure to be exploited.
    10·2 answers
  • CompX Inc. is an online retailer of electronic products, including laptops and tablets. The company is known for its unique appr
    15·1 answer
  • Rock, Paper, Scissors is a two-player game in which each player chooses one of three items. If both players choose the same item
    9·1 answer
  • Which of the following statements about the break statement is false? Group of answer choices Common uses of the break statement
    12·1 answer
  • Write a function named word_count that accepts a string as its parameter and returns the number of words in the string. A word i
    10·1 answer
  • Why are Quick Parts useful in an Outlook message?
    10·2 answers
  • HELLLP PLEASEEEEEEEEE
    12·1 answer
  • Cách soạn thảo văn bản trên word
    7·1 answer
  • The Carolina International School is more Earth-friendly than typical schools because
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!