I don't know exactly where I'm wrong, I'm lost I'm a beginner. can you Please Post the Write Code. Thanks
Code:
//robert
include <iostream>
using namespace std;
Int main (void) {
float w;
cout << "Input Wavelenght " ;
cin >> w ;
If (w > .7) {
cout " wavelenght outside visual range " ;
} else if (w > .647 ) {
cout << " red " ;
} else if (w > .585 ) {
cout << " orange " ;
} else if (w > .575 ) {
cout << " yellow " ;
} else if (w > .491 ) {
cout << " green " ;
} else if (w > .424 ) {
cout << " blue " ;
} else if (w > .400 ) {
cout << " violet " ;
}else{
cout<< " out of range " ;
return 0 ;
}