Untitled
unknown
plain_text
4 years ago
277 B
4
Indexable
#include <stdio.h> int main() { float a, b; scanf("%d %d", &a, &b); printf("%d %d", a,b); if (a>0 && b>0) { float c = ( a + b) *2; float d = a *b; printf("%f %f", c, d); } else { printf("0"); } return 0; }
Editor is loading...