Computer Science, asked by amandeep347kaur, 2 months ago

Umary Search?
for (int i = 3; i < 5; i ++)
System.out.println(x[i]);
for (int y=0; y<3; y++)
System.out.print (n[y]+"");
for (int s = 0; s<4; S=S+1)
{
x [s]+=5;
System.out.println(x[s]);
}
(iv) double x [] = new doubles [5];
for (int j = 0; j<5; j++)
{
x[i] =j:
System.out.println(x[j]);
}
7. Write array declarations for the following:
(0) 1-D array of 10 integers
(ii) 1-D array of 15 float values
(iii) 1-D array of 5 integers initialised to 1
(iv) 2-D array of integers of 3 rows and 5 columns
(V) 2-D array of 2 rows and 2 columns initialised to o
Computers-10
Give output for the following programs.
(1) int x[] = {-5, -4,-3, -2, 1);
(ii) String n [3] = {"OBJECT", "ORIENTED", "PROGRAMS" );
(iii) double x [] = {2.93, 4.65, 3.12, 9.0, 6};​

Answers

Answered by parthgaw111
0

Answer:

I don't understand mkvmmm

Similar questions