
- Forum
- Programming Talk
- C and C++
- please simplify this code. i am unable to understand it... but your team has done a great work.
please simplify this code. i am unable to understand it... but your team has done a great work.
This is a discussion on please simplify this code. i am unable to understand it... but your team has done a great work. within the C and C++ forums, part of the Programming Talk category; #include <iostream.h> int Exforsys[ ] = { 10,20,30,40,50}; int i, outp=0; void main() { for(i=0;i<5;i++) { outp=outp+ Exfosys[i]; } cout<< ...
-
please simplify this code. i am unable to understand it... but your team has done a great work.
#include <iostream.h>
int Exforsys[ ] = { 10,20,30,40,50};
int i, outp=0;
void main()
{
for(i=0;i<5;i++)
{
outp=outp+ Exfosys[i];
}
cout<< outp;
}#include <iostream.h>
int Exforsys[ ] = { 10,20,30,40,50};
int i, outp=0;
void main()
{
for(i=0;i<5;i++)
{
outp=outp+ Exfosys[i];
}
cout<< outp;
}
-
03-25-2011, 11:03 AM #2
#include <iostream.h>;
int Exforsys[ ] = { 10,20,30,40,50};
int i, outp=0;
void main()
{
for(i=0;i<5;i++)
{
outp=outp+ Exfosys[i];
}
cout<< outp;
}
seems to meeee like this only!!

Reply With Quote





