I don't know what I am doing wrong. It will only let you choose the first option and then what ever is entered after first calculation continues to the next two calculations. I don't know what is missing. I am at "beginner" at best. Any suggestions would be appreciated.

#include <iostream> using namespace std; int main() { //declare variables for calculation selections float calc_select, again; //define variables double feet, gallons, miles, meters, liters, kilometers; //Ask user to choose cout<< "\n\n What do you want to convert?\n"; cout<< "\n\n Enter:\n"; cout<< " 1 for feet to meters,\n"; cout<< " 2 for gallons to liters,\n"; cout<< " 3 for miles to kilometers.\n"; //store selection cin>> calc_select; //switch (calc_select); { //if calc_select == 1 if (calc_select == 1) cout<< " Enter a number of feet to convert to meters.\n"; cin>> feet; meters = (feet * 0.3048); cout <<feet<< " feet equals " <<meters<< " meters.\n"; //if calc_select = 2 if (calc_select == 2) cout<< " Enter a number of gallons to convert to liters.\n"; cin>> gallons; liters = (gallons * 3.78541178); cout <<gallons<< " gallons equals " <<liters<< " liters.\n"; //if calc_select = 3 if (calc_select == 3) cout<< " Enter a number of miles to convert to meters.\n"; cin>> miles; kilometers = (miles * 1.609344); cout <<miles<< " miles equals " <<kilometers<< " kilometers.\n"; //if calc_select = invalid //cout<< " Invalid selection! Must enter a 1, 2, 3!\n"; } }