Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  calc
Language: C/C++
Code:
#include <stdlib.h>
#include <stdio.h>
#include <math.h>


 main(){
           float v, s, f, r, p;
           printf("n V. P:");
           scanf("%f",&v);
           printf("n V. F:");
           scanf("%f",&f);
           s=f+v;
           r=s*30/100;
           p=s+r;
           printf("n O valor total: %.2fn",p);
           
           system("pause");
           
           }
     
          
Comments: