Math, asked by rishikaar063, 4 months ago

hello

WAP TO INPUT A NUMBER AND IF IT IS ODD NUMBER BY 10 OTHERWISE MULTIPLY THE NUMBER BY 5 . DISPLAY THE RESULT

Answers

Answered by Bhavya25apr
1

Step-by-step explanation:

{

int sum = 0;

for(int i = 1; i < 20; i = i+2)

sum += i;

cout << sum;

return 0;

}

HOPE IT HELP YOU FRND

Thanks :)

Attachments:
Answered by Honeycherry1976
1

Answer:

can you answer my new question

Similar questions