Answer to Question #26844 in Action Script | Flash | Flex | ColdFusion for ahmeed

Question #26844
Given the following array,wirte code to initialize all the array elements to 88
1
Expert's answer
2013-03-29T06:53:52-0400
#include <iostream>
#include <string>
#include <conio.h>

using namespace std;
//main function
int main()
{
int arrayofnumbers[100];
int count=0;
//initialize all the array elements to 88
do{

arrayofnumbers[count]=88;
cout<<arrayofnumbers[count]<<"
";
count++;
}while(count!=100);
getch();//delay
return 0;
}



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