64 763
Assignments Done
99,3%
Successfully Done
In September 2018

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
Expert's answer
#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 first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions