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
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
1
Answer:
can you answer my new question
Similar questions