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
Dmitry [639]
3 years ago
14

Write a c program that asks the user

Computers and Technology
1 answer:
faltersainse [42]3 years ago
7 0

Answer:

#include <stdio.h>

int main()  

{

int x;

float y;

printf("Input total distance in km: ");

scanf("%d",&x);

printf("Input total fuel spent in liters: ");

scanf("%f", &y);

printf("Average consumption (km/lt) %.3f ",x/y);

printf("\n");

return 0;

}

You might be interested in
Which of the following Office Online apps is most effective for creating spreadsheets?
navik [9.2K]
The answer is C Excel. Excel allows you to make spreadsheets.

Hope this helps :-)
4 0
3 years ago
Read 2 more answers
Submitting a cover letter and resume is a step in the process of applying for a job.
likoan [24]
Very True

When applying for jobs, candidates are required to understand how the job application process works. Getting your Resume ready and being able to write a well-crafted cover letter might guarantee you that job. There are different approaches of submitting a cover letter and a Resume via email. You can always cut and paste your actual cover letter or attach both documents as separate documents to your email.      

 

 

 



3 0
3 years ago
Tạo thủ tục có tên _Pro04 để trả về số lượng tổng thời gian tham gia dự án Y của nhân viên có mã số X, với X là tham số đầu vào,
kompoz [17]

Answer:

nigro

Explanation:

6 0
3 years ago
Recall the CFG G4 that we gave in Example 2.4. For convenience, let’s rename its variables with single letters as follows. E → E
dimaraw [331]

Answer:

Check the attached image

Explanation:

the diagram for explaning all the solutions is in the attaged images below.

6 0
3 years ago
Select the correct text in the passage.
aliina [53]

Answer: When was admitted, hospital authorities recorded his medical history. Then, placed in an ICU where his vital signs were constantly monitored.

Explanation: With the help of computers, medical histories are often kept in the computer for future reference. Machines are connected to computers to record vital signs.

4 0
3 years ago
Other questions:
  • Which passage form the passage best contributes to elisa impatient tone
    8·1 answer
  • Crashing almost always accelerates the schedule while increasing project risk, whereas fast tracking almost always accelerates t
    10·1 answer
  • True or False? In C++, the expression (a + b / c) / 2 is implicitly parenthesized as ((a + b) / c) / 2.
    9·1 answer
  • 2. Design a class named Sandwich with data fields for description and price. Include a constructor that requires arguments for b
    14·1 answer
  • You're the network administrator for a company that has just expanded from one floor to two floors of a large building, and the
    13·1 answer
  • Kristi, an event planner, wants to store caterers’ names and contact information in an organized manner. Kristi will MOST LIKELY
    13·1 answer
  • 1.               Which of the following is smallest?
    6·2 answers
  • 8.10 Code Practice Question 3
    6·1 answer
  • Which protocol is responsible for transporting files between a client and a server?
    14·2 answers
  • This was the template given for my assignment: class Login:
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!