Help me also with this question: a farmer wishes to know the cost and the amount of fertilizer required for his rectangular field of crops. The amount of fertilizer is determined by first calculating the area of a field and multiplying that by the rate of fertilizer application per square metre. Given that the rate of application is 0.05kg per square meter and the cost per kg of fertilizer is $10.50 per kg. Write a program that accept the length and width of a given field from the farmer. The program then calculates and prints the area of the field , the amount of fertilizer required and the total cost of fertilizer in dollars
Super friendly code & developer communities
A place for coders and developers to share, learn and grow together.