#include main() { float kgs, lbs; printf("\nEnter a weight in kilograms (0 to end): "); scanf("%f", &kgs); while (kgs != 0.0) /* The while statement repeats everything contained within it as long as its argument remains true (in this case, the variable 'kgs' does not equal zero). If you want to have more than one way of ending the loop, use the and logical operator (&&) instead of more than one argument. */ { lbs = kgs * 2.2; printf("%6.2f kilograms = %6.2f pounds\n", kgs, lbs); printf("\nEnter a weight in kilograms (0 to end): "); scanf("%f", &kgs); } printf("\nThat's all, y'all!\n"); }