Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main(int argc, char *argv[])
- {
- int a = 10;
- char w = '@';
- float z = 76.5702;
- double R = a/w+z;
- printf("El resultado es %d\n", R);
- printf("\n\n");
- system("PAUSE");
- int R1, R2, R3;
- float V, I;
- printf("Ingresa R1,R2,R3,V\n");
- scanf("%d,%d,%d,%f", &R1,&R2,&R3,&V);
- I=(V/((1.0/R1)+(1.0/R2)+(1.0/R3)));
- printf("La corriente (I) es: %f\n ", I);
- system("PAUSE");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement