#include <iostream>
using namespace std;
int main() {
int n=190;
int oddSum=0;
for(int i=1;i<=n;i++){
if(i%2 !=0){
oddSum+=i;
}
}
cout << "odd sum= " <<oddSum << endl;
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: