Question: Please solve the following problem: Make a program that controls the animals in a zoo, using C language of programming The program allows you to

Please solve the following problem:

Make a program that controls the animals in a zoo, using C language of programming

The program allows you to collect: the name of the animal - v_nom the number of copies - v_num the country of origin - v_pais the amount in kg of food that each one consumes per day - v_ctd

Subsequently, it displays the information in the form of a numbered table: the name - the country - the number - the food.

The name of the variables is already assigned and they must be of the correct type to follow the restrictions of each data. Don't forget to add the stdio library and that the main function is the main one where the program runs.

Example: Lion Cameroon 3 4.56 Elephant Nepal 2 25.7 Zebra Kenya 8 3.1

This program must include the commands: int, float, scanf and operators that are relational and arithmetic.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!