to meet a criteria (I'm learning about Scope), and I'm not sure if I have written it correctly. Could someone take a look and assess my code?
https://pastebin.com/PgvA3BvV
The criteria: "Write a program gnoahs_park that declares 4 variables. Two global integer variables
called num_gnus and num_gnats, and two local floating point variables within the func-
tion main, called avg_gnu_mass, and avg_gnat_mass. Then add another function
called calculate_park_biomass, and pass avg_gnu_mass and avg_gnat_mass to it."
Thanks
You forgot some functions
Обсуждают сегодня