Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

¿ayuda ,,,por fa =) (turbo pascal o C++)?

Con un programa que haga una notade venta de algunos alimentos x cantidad de productos

plz ayudenme ya sea en turbo pascal o C++

=)...gracias,,,todos mis puntos a la mejor respuesta

1 Answer

Rating
  • 1 decade ago
    Favorite Answer

    main()

    {

    int alimento,cantidad;

    printf("Ingrese los alimentos vendidos: \n");

    scanf("%d",&alimento);

    printf("Ingrese la cantidad de alimentos vendidos: \n");

    scanf("%d",&cantidad);

    printf("Nota de venta: $%d dolares",alimento*cantidad);

    getch();

    }

Still have questions? Get your answers by asking now.