Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- main()
- {
- float A,B,C;
- printf("dwse A:");
- scanf("%f",&A);
- printf("dwse B:");
- scanf("%f",&B);
- if(A*B>0){
- C=A*B;
- printf("To ginomeno einai:%.3f",C);
- }
- else
- C=A+B;
- printf("To athrisma einai:%.3f",C);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement