// editor5
#include <stdio.h>
    void calculate_shipping_cost(float weight) {
        if (weight > 0 && weight <= 5) {
            printf("100 USD\n");
        } else if (weight > 5 && weight <= 20) {
            printf("200 USD\n");
        } else if (weight > 20 && weight <= 50) {
            printf("300 USD\n");
        } else {
            printf("Invalid input\n");
        }
        
    }
 int main() {
     fl
     printf("Sample Input 1: %.1f\n", weight1);
     printf("Sample output 1: ");
     calculate_shipping_cost(weight1);
     return 0;
}