ramylan00
ramylan00 ramylan00
  • 09-01-2021
  • Computers and Technology
contestada

please help me please help me​

please help me please help me class=

Respuesta :

asmaNasr
asmaNasr asmaNasr
  • 09-01-2021

Explanation:

in C++

#include<iostream.h>

#using namespace std;

main()

{

int array[8];

int oddSum=0;

for(int i=0; i<8;i++)

{

if(array[i]%2==1)

{

oddSum=oddSum+array[i];

}

else()

{ //do nothing }

}

cout<<"The sum of odd numbers are:"<<oddSum;

getch();

return 0;

}

Answer Link

Otras preguntas

Elevates creation into god by claiming that the only reality is what can be perceived through the five senses.
what would happen if non native beetles began to kill most of the producers
Where would you find the element with the least mass?
A nurse is caring for a turkish american client. the nurse understands that there could be major cultural differences between the nurse and the client. the nurs
Many of the original English colonists were religious separatists from the Church of England (e.g., the Pilgrims in Plymouth and the Puritans in Massachusetts B
Most of the excessive carbon dioxide that is expected to cause global warming is generated by
The use of _____ which is designed to increase the size of the opening of the vagina, has fallen into disfavor in recent years and is diminishing in frequency
Can you put the following in order 1/3 0.3 and 34% and show work
A chemical that can release free hydroxide ions or accept free hydrogen ions is a(n) __________.
If [tex] \frac{1}{10}m[/tex]=[tex] \frac{1}{11}m[/tex]+[tex] \frac{1}{1100}[/tex], than what is the value of m