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
adelina 88 [10]
3 years ago
8

How I get input from the user in C? Here's my code now:

Computers and Technology
1 answer:
Nataliya [291]3 years ago
4 0

You must use “scanf” statement to read the input. You must also include the necessary header file to use all the built-in functions in any programming languages.

scanf(“%d”, &number);

Since “scanf” is a statement it must end with the semicolon. “scanf” accepts two parameters, first the type of value and second is the address of the variable to store the given input.

Here “&” represents the address of the given variable. “%d” is used for integer, “%f” is used for float, “%s” is used to receive string inputs, etc.

You might be interested in
________ technologies are technologies that enable the incremental improvement of products and services.
nikdorinn [45]

<u>Sustaining</u> technologies are technologies that enable the incremental improvement of products and services.

Sustaining technology refers to the constant improvement of industrial activities which includes cost efficiency, product quality, and time.

Sustaining technology differs from disruptive technology in that disruptive technology identifies new opportunities and creates new products and services that the customers don't know about while sustaining technology enables the companies to compete with other associations by improving the products and services that the consumers already know about.

Sustaining technology works by identifying the needs and demands of the consumers and customers and can sometimes be a slow method.

Sustaining technologies enable companies to maintain their existing customer base and at the same time improve their existing products.

To learn more about sustaining technologies, click here:

brainly.com/question/14838154

#SPJ4

4 0
1 year ago
Read 2 more answers
Which of the following would be a tradeoff of a scientific advancement that enables us to catch fish from the ocean faster than
chubhunter [2.5K]
It would cause us to deplete the oceans fish population faster and it would be harder to repopulate the rapidly declining population leading to eventual extinction of fish species
8 0
3 years ago
A new president has been elected. She promises to lower taxes drastically. What is most LIKELY to happen as a result of this dec
masya89 [10]
B, because we pay taxes for the government hope this helps :))
5 0
2 years ago
A ____ by a design professional is used to determine the best system to provide the appropriate level and type of protection.
AleksAgata [21]
A HAZARD EVALUATION by a design professional is used to determine the best system to provide the appropriate level and type of protection. Hazard evaluation involves systematic identification and analysis of hazards that are associated with a particular product or process. This gives one the opportunity to avoid these hazards.  
8 0
3 years ago
Assume that another method has been defined that will compute and return the student's class rank (Freshman, Sophomore, etc). It
ladessa [460]

Answer:

Option (D) i.e., s1.getClassRank( ); is the correct option to the following question.

Explanation:

Here, in the following option, the object "S1" is the object of the class "rank" and "getClassRank( )" is the function of that class "rank". so, in the following code the function "getClassRank( )" is called through the class object which computes and returns the class rank of the students.

So, that's why the following option is the correct way to call the function.

8 0
3 years ago
Other questions:
  • Write the importance of cyber law? In point .<br>​
    10·2 answers
  • Which of the following correctly describes the reason for quality customer service?
    15·2 answers
  • Which of these is a subdirectory? <br> HTTPS <br> /FAQ <br> .org <br> WWW
    15·1 answer
  • Page UND
    8·1 answer
  • What are some good websites i can use to test my knowledge?
    11·2 answers
  • Assume phrase= "Peter Piper picked a peck of pickled peppers", What will be returned if phrase.search(/[aeiou]/) is called?
    9·1 answer
  • Introduction to computing systems: from bits and gates to c and beyond
    7·1 answer
  • Does white space have visual weight? Yes or No
    7·2 answers
  • In online education is intrinsically related to equity. Professionalism Communication Accessibility
    8·2 answers
  • Guidewords for the word “serpent” may be
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!