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

which is the first step in creating a federal budget? A) The Office of Management and Budget (OMB) prepares a budget proposal B) The president submits a budget
can someone help me how to do it​
Need help with math question
plz plz help me friends In addition to the facts in the diagram, which other statements are necessary to prove that ∆ABC is congruent to ∆EFG by the ASA criteri
PLZ HURRY IT'S URGENT! If f(x) = 0.6(3 – x), what is the value of f(–3)? A. 0 B. 1.8 C. 3.6 D. 4.8
Maintaining an internal body temperature is one of the key components to maintaining homeostasis. ____________________ involves cooling the body down by bringin
Which is greater 1,200 grams or 4 liters
Which rule describes the composition of transformations that maps ?DEF to ?D''E''F''? R0,90° ? T5,0(x, y) T–5,0 ? R0,90°(x, y) T5,0 ? R0,90°(x, y) R0,90°(x, y)
Factorise completely 200y²-18x²
Many indigenous cultures use specific repeated motifs and patterns in their artwork. These repeated motifs help the viewer to: Select one: a. Understand the mea