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
Trava [24]
4 years ago
13

Write the code to declare a variable to hold the value of the grade you hope to get in this class. What stdio.h input function w

ould be used to get input from the user by the keyboard? Write the code to obtain die volt
Computers and Technology
1 answer:
GREYUIT [131]4 years ago
4 0

Answer:

// code to read grade

#include <stdio.h>

// main function

int main(void) {

   // if grade is character

char grade;

// if grade is numeric then we can use int or double

// int grade;

// double grade;

printf("Enter your grade:");

// read grade from user

scanf("%c",&grade);

// print grade

printf("your grade is:%c",grade);

return 0;

}

Explanation:

To read a value, scanf() function is used from stdio.h.Read a grade from user and assign it to variable "grade".

Output:

Enter your grade:A

your grade is:A

// code to read die volt

#include <stdio.h>

// main function

int main(void) {

// variable

double die_volt;

printf("Enter die volt:");

// read die volt from user

scanf("%lf",&die_volt);

// print die volt

printf("Entered die volt is:%0.2lf",die_volt);

return 0;

}

Explanation:

Read the die volt from user and assign it to variable "die_volt" with the help

of scanf() function.

Output:

Enter die volt:220                                                                                                        

Entered die volt is:220.00

You might be interested in
Which module is missing from most expert systems? a. Knowledge base subsystem b. Inference engine c. User interface subsystem d.
Murljashka [212]

Answer:

d. Knowledge refinement subsystem

Explanation:

One of the biggest problems in companies today, whether large or small, is the use of knowledge that is constantly generated through all its processes and all its staff. This difficulty of using the knowledge of the company arises because the sources of it are very varied and range from documents to databases, discussion groups and people themselves.

The component that is in contact with the direct source of knowledge is the knowledge acquisition subsystem and for this same reason represents one of the largest bottlenecks in organizations. Many times it is not just an expert but a group of them who are responsible for developing the system and "emptying" their knowledge in the base. There are many tools and methods to obtain this knowledge among which is the interview, the observation and the creation of scenarios.

With the knowledge acquisition subsystem and the knowledge base ready, other processes must be followed to achieve the elaboration of the rules, the interface with the user and the inference mechanisms, however, the purpose of this article is to highlight the importance of the knowledge acquisition process, since it is the initial step in the development of an expert system and lays the foundation for its proper functioning.

6 0
4 years ago
Which activity does not allow a person to perform any work while at the shop
polet [3.4K]

Is it apprenticeship???:D

5 0
3 years ago
Which of these parts of a computer produces an observable result?
lara31 [8.8K]

Answer:

D

Explanation:

6 0
3 years ago
Read 2 more answers
Does every loop structure require curly braces?<br> A. yes<br> B. no
ExtremeBDS [4]

Answer:

<h2><u><em>If the number of statements following the for/if is single you don't have to use curly braces</em></u>. </h2>

Explanation:

But if the number of statements is more than one, then you need to use curly braces.

<h2><u><em>BRAINLIEST please <3</em></u></h2>

<u><em></em></u>

<u><em>so its</em></u>

<h2><u><em>NO</em></u></h2>
4 0
3 years ago
Proper __ management is essenciales for meeting project deadlines​
trapecia [35]

Proper  Project management is essential for meeting project deadlines.

4 0
4 years ago
Other questions:
  • File formats are linked to certain programs.<br><br> True<br> False
    12·2 answers
  • Create a class CitiesAndCountries with at least three methods: class CitiesAndCountries: def add_country(self, country_name): ""
    7·1 answer
  • Privacy concerns, financial information, security of your personal data has
    14·1 answer
  • Which of the following is least likely checked by the comprehensive component monitor?
    7·1 answer
  • To transfer data packets between two or more networks, a ________ is used.
    11·1 answer
  • Where are all of your documents saved?
    14·2 answers
  • The Mohs scale is used to express which mineral property?
    15·1 answer
  • Eric is working on a computer that has a device driver error. Eric can find the name of the device driver however the actual dev
    13·2 answers
  • What are the dimensions (width and height) of the largest image we can make with the pixelation widget?
    8·1 answer
  • Write a program that prints the numbers 1 - 50. If the number is even print the word 'EVEN!' next to it. If the number is odd pr
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!