URI Online Judge [ 1007 ] Difference Question & Solution

Solution in C:- #include<stdio.h> int main(){ int A,B,C,D,e; scanf(“%d%d%d%d”,&A,&B,&C,&D); e=((A*B)-(C*D)); printf(“DIFERENCA = %d\n”,e); return 0; }   Find More Solution

Read more

URI Online Judge [ 1010 ] Simple Calculate Question & solution

Solution in C:-   #include<stdio.h> int main() { int pc1,pc2,pn1,pn2; float pp1,pp2,value; scanf(“%d%d%f%d%d%f”,&pc1,&pn1,&pp1,&pc2,&pn2,&pp2); value=(pn1*pp1)+(pn2*pp2); printf(“VALOR A PAGAR: R$ %.2f\n”,value); return

Read more