seergiomv

ejercicio 7.1

Sep 30th, 2019
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.     float i;
  5.     printf("Precio del producto: ");
  6.     scanf("%f", &i);
  7.     float t;
  8.     t = (24*i/100)+i;
  9.     printf("El precio de su producto con IVA es de: %f", t);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment