lets say i had a program saying
why dosent that work?Code:#include <iostream> using namespace std; int main() { float name; float lastname; cout<<"Enter first name"<<endl; cin>>name; cout<<"Enter last name"<<endl; cin>>lastname; cout<<"your first name is "<<name<<" and your second name is "<<lastname<<endl; cin.get(); return 0; }