Answer:
#include <stdio.h>
int main(void) {
float number = 0;
printf("Enter a number: ");
scanf("%f", &number);
number *= 2;
printf("The number doubled is: %f\\", number);
return 0;
}
Step-by-step explanation:
Assuming you want a C program, see above.