Answer to Question #88734 in C++ for Shivam
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
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!
Learn more about our help with Assignments:
C++
Comments
Leave a comment