– Define a structure called Object which includes three doubles specifying the object’s mass,

volume and density.
– Create an array of 10 Objects.
– Define the function void scanobjectsdata(struct Object objects[], int size) that scans
from the input and updates the mass and volume of each object.
– Define the function void computeobjectsdens(sruct Object objects[], int size) that
computes and updates the density of all of the objects.
– Define the function void sortobjects(struct Object objects[], int size) that sorts
the objects in the array according to their density.
– Write a program that checks all of the above functions.

Can someone tell me how to do it in c language? I do not know how to do it please help.

What course are you taking, and which topics have been covered?

It looks like this is an assignment to help you understand and apply what you have learned.
I believe you should be able to show us some code or at least some pseudocode and start getting help with difficulties from there.

It is a computer course for physicists. Therfore i do not study programming as my main course. also i have missed a few lessons, therfore i do not even know where to begin.

Programming is a subject learned by intuition (for geniuses) or by practice (most of us).

If your teacher did not cover programming, then it must have been required as a prerequisite. The problem given is not even for a first course in c-programming, so you will have a lot of catching up to do.

You can start by reading up on some c-programming tutorials online, or if you have some c-programming textbooks, start from the first page.

Start by installing a c-compiler (such as Dev-C++ (easier to install than the Microsoft C.net) and follow the tutorials from page one, such as the Hello World! program.

Make the best use of your time available and expect to spend 8-10 hours a day for the coming weekend.

Good luck.

PS: some links to c-tutorials:
http://www.cprogramming.com/tutorial/c-tutorial.html
http://www.learn-c.org/

Sure, I can help you with that. Here's an example of how you can implement the given requirements in C language:

```c
#include <stdio.h>

// Define a structure called Object
struct Object {
double mass;
double volume;
double density;
};

// Function to scan and update mass and volume of objects
void scanobjectsdata(struct Object objects[], int size) {
for (int i = 0; i < size; i++) {
printf("Enter mass for object %d: ", i + 1);
scanf("%lf", &objects[i].mass);

printf("Enter volume for object %d: ", i + 1);
scanf("%lf", &objects[i].volume);
}
printf("\n");
}

// Function to compute and update density of objects
void computeobjectsdens(struct Object objects[], int size) {
for (int i = 0; i < size; i++) {
objects[i].density = objects[i].mass / objects[i].volume;
}
}

// Function to sort the objects based on density
void sortobjects(struct Object objects[], int size) {
for (int i = 0; i < size - 1; i++) {
for (int j = 0; j < size - i - 1; j++) {
if (objects[j].density > objects[j + 1].density) {
struct Object temp = objects[j];
objects[j] = objects[j + 1];
objects[j + 1] = temp;
}
}
}
}

int main() {
// Create an array of 10 Objects
struct Object objects[10];

// Scan and update mass and volume of objects
scanobjectsdata(objects, 10);

// Compute and update density of objects
computeobjectsdens(objects, 10);

// Sort the objects based on density
sortobjects(objects, 10);

// Display the sorted objects
printf("Objects sorted based on density:\n");
for (int i = 0; i < 10; i++) {
printf("Object %d - Mass: %.2lf, Volume: %.2lf, Density: %.2lf\n", i + 1, objects[i].mass, objects[i].volume, objects[i].density);
}

return 0;
}
```

In the above code, we define a structure called `Object` with three members: `mass`, `volume`, and `density`. We create an array of 10 `Object` structures. We then define three functions as per the given requirements:

1. `scanobjectsdata`: This function scans and updates the mass and volume of each object by iterating through the array of objects.
2. `computeobjectsdens`: This function computes and updates the density of each object using the formula `density = mass / volume`.
3. `sortobjects`: This function sorts the objects in the array based on their density using bubble sort algorithm.

In the `main` function, we call these functions sequentially to perform the required operations. Finally, we display the sorted objects based on their density.

You can run the program to test and see the output.