#include <stdio.h>
int main()
{
float voltage, resistance, current = 0.00;
printf("Please enter a voltage reading: ");
scanf("%f", &voltage);
printf("\nPlease enter a resistance reading: ");
scanf("%f", &resistance);
current = resistance * voltage;
printf("\nVolatage %f", current); //can do %.4f to have 4 digits after decimal point.
return 0;
}