#include <stdio.h>
float dobro_do_maior(float x, float y) {
return x > y ? x * 2 : y * 2;
}
int main() {
float a, b;
printf("Digite dois numeros: "); printf("o dobro é %f\n", dobro_do_maior
(a
, b
)); }
//https://pt.stackoverflow.com/q/345773/101
I2luY2x1ZGUgPHN0ZGlvLmg+CgpmbG9hdCBkb2Jyb19kb19tYWlvcihmbG9hdCB4LCBmbG9hdCB5KSB7CiAgICByZXR1cm4geCA+IHkgPyB4ICogMiA6IHkgKiAyOwp9CgppbnQgbWFpbigpIHsKICAgIGZsb2F0IGEsIGI7CiAgICBwcmludGYoIkRpZ2l0ZSBkb2lzIG51bWVyb3M6ICIpOwogICAgc2NhbmYoIiVmIiwgJmEpOwogICAgc2NhbmYoIiVmIiwgJmIpOwogICAgcHJpbnRmKCJvIGRvYnJvIMOpICVmXG4iLCBkb2Jyb19kb19tYWlvcihhLCBiKSk7Cn0KCi8vaHR0cHM6Ly9wdC5zdGFja292ZXJmbG93LmNvbS9xLzM0NTc3My8xMDE=