#include <stdio.h>
#include <cs50.h>
int main(void)
{
float lenght = get_float("please type lenght:\n");
float width = get_float("please type width:\n");
float price = get_float("how mush for 1 meter?\n");
float area = lenght * width;
float total_price = area * price;
printf("the total area is:%f\n",area);
printf("give the guy: $%f\n", total_price);
}
إعجاب واحد (1)