Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  programa2FS
Language: C/C++
Code:
#include<math.h>
#include<stdio.h>
 main(int argc, char *argv[])
{
    float precio, pres1, pres2;
      printf("n Ingresa el precio del producto");
      scanf("%f", &precio);
      if (precio<150);
      pres1= precio+((precio*12)/100);
      printf ("pres1");
      if;
      else  (precio<=150);
      pres2= precio+((precio*9)/100);
      printf("pres2");
getchar();
return 0;
      }
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
Comments: