1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Natalija [7]
3 years ago
14

A partially filled array is normally used with __________.

Computers and Technology
1 answer:
earnstyle [38]3 years ago
4 0
A halfway filled array is usually given with an accompanying figure variable that holds the number of items that are verily stored in the array.
If the array is devoid, then 0 is stored in this adaptable because there are no items in the array. Each time an item is farther to the array, the variable is incremented.
You might be interested in
A firewall relies on or a that determine what traffic should or should not be allowed to pass through
likoan [24]
A firewall determines what external network traffic(internet) should or should not be allowed to pass internal network(computer). A firewall is network security that protects software and hardware from untrusted sites that may have viruses, worms, and bugs that are detrimental to the computer.
5 0
3 years ago
Write a method, makeSubjectLine, that gets a String argument and returns the same String but with "Subject: " in front of it. So
Anna [14]

Answer:

public class newass {

   /*

   Write a method, makeSubjectLine, that gets a String argument and returns the same String but with "Subject: " in front

   of it. So if the argument is "Are you going to the show?" the method returns "Subject: Are you going to the show?".

    */

   public static void main(String[] args) {

       System.out.println(makeSubjectLine("Are you going to the show?"));

   }

   public static String makeSubjectLine(String subj){

       return "Subject: "+subj;

   }

}

Explanation:

The solution in Java Programming Language

6 0
3 years ago
Assume that ip1, ip2, and ip3 have already been declared to be of type "pointer to int". Assume further that each of these point
kaheart [24]

Answer:

void main(){

int *ip1,*ip2,*ip3;

printf("Enter values for ip1 and ip2\n");

scanf("%d\n",ip1);

scanf("%d\n",ip2);

*ip3=*ip1+*ip2;

}

Explanation:

*ip3=*ip1+*ip2;

this statement is used to add the values of two pointer variables and storing it in third pointer variable.

*ip1 --->ip1 gives address location of the variable and *ip1 gives the value stored at that address location

5 0
4 years ago
Write a c++ program to input basic salary of an employee and calculate its Gross salary according to following
GREYUIT [131]
<h2>\large\bold{\underline{\underline{Program :}}}</h2>

#include<iostream>

using namespace std;

int main ()

{

float basic, gross, da, hra;

cout<<"Enter basic salary of an employee:";

cin>>basic;

if (basic <25000)

{

da = basic *80/100;

hra = basic *20/100;

}

else if (basic >=25000 & & basic<40000)

{

da = basic *90/100;

hra = basic *25/100;

}

else if (basic>=40000)

{

da = basic *95/100;

hra = basic *30/100;

}

gross = basic + hra + da;

cout<<"\n\t Basic Pay............" <<basic<<endl;

cout<<"\t Dearness Allowance..........." <<da<<endl;

cout<<"\t House Rent Allowance......" <<hra<<endl;

cout<<"\t Gross Salary............." <<gross<<endl;

cout<<"\t - - - - - - - - - - - - - - -" <<endl;

<h2>\large\bold{\underline{\underline{Output :}}}</h2>

Enter Basic Salary of an employee : 25000

Basic Pay : 25000

Dearness Allowance : 22500

House Rent Allowance : 6250

Gross Salary : 53750

<h2>\large\bold{\underline{\underline{Result :}}}</h2>

<h3>The Expected Output is archived</h3>
7 0
2 years ago
Plz i need help what is wrong on line 14
padilas [110]

Indentation is very important in python. You need to indent code inside while loops, for loops, if statements, etc. You don't seem to be indenting.

In this example:

while (secretNum != userGuess):

   userGuess = int(input("Guess a number between 1 and 20: "))

Although, you might need to indent more than only this line. I hope this helps.

4 0
3 years ago
Other questions:
  • The compare_strings function is supposed to compare just the alphanumeric content of two strings, ignoring upper vs lower case a
    15·1 answer
  • Can the police track a phone if you post something on a social media platform even if the SIM card is out and location services
    7·2 answers
  • Which of the following represent features of
    6·1 answer
  • Given that a method receives three parameters a, b, c, of type double, write some code, to be included as part of the method, th
    8·1 answer
  • D. The 7-bit ASCII code for the character '&amp;' is:
    7·1 answer
  • g Given a 5 by 5 matrix of all positive values, write a program to find and display the greatest product of the 2 adjacent value
    12·1 answer
  • when files on storage are scattered throughout different disks or different parts of a disk, what is it called
    10·1 answer
  • 8. SQL, Oracle Report, and Visual Basic are all examples under the
    5·1 answer
  • write a recursive bool valued function containsvowel that accepts a string and returns true if the string contains a vowel
    6·1 answer
  • What is the difference between margin and padding property?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!