Computer Science, asked by Shraddha1312, 4 months ago

int n;
EI
18
SL
#include <iostream>
int main() {
std::cout<<"Enter the number"<<std::endl;
std::cin>>n;
//
** code
I.
int sum = 0;
for (int i-i; i<n/2; i++){
if (nafi - ) {
Sum + i;
7
10
11
12
}
}
std::cout<<"Sum of factors of "<<n<<": "<<sum <std::endl;
14
}​

Answers

Answered by sitara82
0

Answer:

Mark me as brainliest please please

Similar questions