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
wariber [46]
3 years ago
9

Which programming scenario would most likely involve this array block?SOMEONE PLEASE HELPPP​

Computers and Technology
1 answer:
attashe74 [19]3 years ago
7 0

Answer:

answer is D

Explanation:

as the block returns the number of array members, the most likely scenario is the last one.

You might be interested in
If you suspect corrupted system files are causing issues, what command can be run to search for and replace the corrupted files?
ki77a [65]
When suspecting corrupted system files that are causing issues, the sfc (scNNnow) command can be used to search for and replace those files.
4 0
3 years ago
As a ______________ you must be able to show that you know what to do to keep food safe
Natali [406]

         

<h2>\beta\beta \beta \geq \neq</h2>
6 0
4 years ago
Identify way computer are used in television production​
Aleonysh [2.5K]

Answer:

image editing, text om screen, weather graphics, animation, sattelites ... a lot more possibilites are endless just limited

3 0
3 years ago
Write a program (Console or GUI) that determines the change to be dispensed from a vending machine. An item in the machine can c
Stells [14]

Answer:

Here is the JAVA program:

import java.util.Scanner;  //to accept input from user

public class Main {   //class name

  public static void main(String[] args) {  //start of main function

Scanner input =new Scanner(System.in);  // creates Scanner class object

int amount, quarters, dimes, nickels, pennies,change;   //declare variables

System.out.println("Enter the price of the(from 25 cents to a dollar, in 5-cent increments): ");  //prompts user to enter the price

amount=input.nextInt();   //reads amount from user

change= 100-amount;   //computes change

System.out.println("You bought an item for " + amount+" cents and gave me a dollar, so your change is :");  

quarters=change/25;  //computes quarters

change=change%25;  //computes quarter remaining

if(quarters == 1)   // if quarter is equal to 1

System.out.println(quarters+ " quarter");   //prints quarter value in singular

else if (quarters>1)   // if value of quarters is greater than 1

System.out.println(quarters+" quarters");     //prints plural quarters value

dimes=change/10;  //computes dimes

if(dimes == 1)   // if value of dime is equal to 1

System.out.println(dimes+ " dime");   //prints single value of dimes

else if (dimes>1)   //if value of dimes is greater than 1

System.out.println(dimes+" dimes");  //prints plural value of dimes

change=change%10;   //computes dimes remaining

nickels=change/5;  //computes nickels

if(nickels == 1)   //if value of nickels is equal to 1

System.out.println(nickels+ " nickel");   //prints single value of nickels

else if (nickels>1)   //if value of nickels is greater than 1

System.out.println(nickels+" nickels");   //prints plural value of nickels

change=change%5;    //computes nickels remaining

pennies=change;  //computes pennies

if(pennies == 1)   //if value of pennies is equal to 1

System.out.println(pennies+ " penny");   //prints single value of pennies

else if (pennies>1)    //if value of pennies is greater than 1

System.out.println(pennies+" pennies");     } }  //prints plural value of pennies

Explanation:

I will explain the program with an example:  

Suppose amount= 75  

Then change = 100 - amount= 100 - 75 = 25  

change = 25  

quarters = change/25 = 25/25 = 1  

quarters = 1  

change = change % 25 = 25%25 = 0  

dimes = 0/10 = 0  

Now all other values are 0.  

Now the following line is printed on screen:  

You bought an item for 75 cents and gave me a dollar. Your change is:  

Now program moves to if part  

if quarters == 1  

This is true because value of quarter is 1  

sot "quarter"   is displayed with the value of quarters

Now the following line is printed on screen:  

1 quarter  

So the complete output of the program is:  

You bought an item for 75 cents and gave me a dollar. Your change is:  

1 quarter

3 0
4 years ago
Mac users find lists of commands
gtnhenbr [62]
Here are few commands for Mac:

Command+C ⇔ <span><span>Copies selected items
</span>Command+D </span>⇔ <span>Duplicates the selected item(s)
Command+E </span>⇔ <span>Ejects the selected volume
Command+F </span>⇔ <span>Displays the Find dialog
Command+H </span>⇔ <span>Hides All Finder windows
Command+I </span>⇔ <span>Shows info for selected item or items
Command+J </span>⇔ <span>Shows the view options for the active window
Command+K </span>⇔ Displays the Connect to Server dialog
5 0
3 years ago
Other questions:
  • An enterprise DBMS is automatically capable of serving as a mobile DBMS. There are no special issues raised by mobility. True Fa
    11·1 answer
  • When broadcasting live on social, keep in mind that the best broadcasts are ones that feel like a conversation between brand and
    8·1 answer
  • Which of the following is a scam where perpetrators promise high pay for working on different projects like wooden calendars, pa
    13·1 answer
  • The numbering system we commonly use is called the decimal numbering system because it uses ________ symbols to represent all po
    5·1 answer
  • A command, such as a button or keyboard shortcut, that performs a specific task is known as a
    9·2 answers
  • What can i use to erase data off computer and what name of it and steps
    9·1 answer
  • A garments manufacturing company buys various types of natural and synthetic materials to produce clothes. Which material is a s
    6·2 answers
  • Compute the acceleration of gravity for a given distance from the earth's center, distCenter, assigning the result to accelGravi
    12·1 answer
  • 14 POINTS AND WILL ASWER BRAINIEST ANSWER ASAP TEST
    15·2 answers
  • Write a program in Java programming language to display or calculate “Hello, Daddy and Mum”
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!