log3_86

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> using namespace std; int main() { int table[3]; // to store the numbers cout << "Input a,b and c values"<<endl; for(int i=0;i<3;i++) { cin>>table[i]; } //checking for negative numbers cout<<"Negative numbers:"<<endl; for(int i=0;i<3;i++) { if(table[i]<0) cout<<table[i]<<endl; } return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines