Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- main()
- {
- float R1,R2,R3,Rsum,I,V;
- I=5;
- printf("dwse R1:");
- scanf("%f",&R1);
- printf("dwse R2:");
- scanf("%f",&R2);
- printf("dwse R3:");
- scanf("%f",&R3);
- Rsum = ((R1+R2)*R3)/(R1+R2+R3);
- V=I*Rsum;
- if(V>3){
- printf("H tasi sta akra einai megaluterh apo 3v");
- }
- else{
- printf("H tasi sta akra den einai megaluterh apo 3v");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement