Answer to Question #88734 in C++ for Shivam

Question #88734
Write the output of the following program:

#include<upstream.h>
#include <conio.h>
void main ( )
{

int t=0
int X[ ] ={4,6,7,10,12}
for (int i=1;i <5; i++)
{ X [ i ] = X [ i ] *2 ;
t+=X [ i ];
}
cout <<t;}
1
Expert's answer
2019-04-29T09:24:40-0400

70


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS