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
Wittaler [7]
3 years ago
7

Can someone help me with my homework?

Computers and Technology
1 answer:
mihalych1998 [28]3 years ago
3 0

Answer:

class Main {

 public static void main(String[] args) {

   if (args.length > 0) {

     long count = args[0].chars().filter(ch -> ch == '7').count();

     System.out.println("Number of sevens " + count);

   }

 }

}

Explanation:

That would do the trick. Drop a comment if you need more explanation. It requires Java 8 because of the lambda expression. What happens is that the input is treated as a string rather than a number, because we're looking for 7's. Convert it to an array of chars, filter out only the chars that are a '7' and count them.

You might be interested in
Write fade in shorthand​
IrinaVladis [17]

Answer:

"Fade In is a Class Act" Macworld says: "Fade In makes it easy to just write...It has all the features you'd find in the more expensive apps, such as Final Draft and Movie Magic Screenwriter, and there's even free and paid iPhone, iPad, and Android apps available

Explanation:

4 0
3 years ago
What does the "mesh" do in Augmented Reality?
Brilliant_brown [7]

Mesh is used in VR and is the addition of the effects and objects to the room of virtual reality.

<h3>What is the role of Mesh?</h3>

Mesh allows the sharing of the reviews from any channel by the fact packages and enables the team to collaborate on the digital platforms to work on the three-dimensional projects.

The mesh allows the problem solving of the errors caused because of the microservices that disturb the functions, and permits the sharing of the holograms, doodles, and online avatars.

Learn more about mesh here:

brainly.com/question/22621708

#SPJ2

8 0
2 years ago
Read 2 more answers
Write a function named max that accepts two integer values as arguments and returns the value that is the greater of the two. Fo
RoseWind [281]

Answer:

The solution code is written in Python

  1. def max(a, b):
  2.    if(a > b):
  3.        return a  
  4.    else:
  5.        return b
  6. num1 = int(input("Please input the first number: "))
  7. num2 = int(input("Please input the second number: "))
  8. print(max(num1, num2))

Explanation:

Firstly create a function max that accepts two input, a and b, as required by question (Line 1). In the function, create if statement to check if a greater than b return a and vice versa (Line 2 -5).

In the main program (Line 7 - 10), prompt user to input two numbers (Line 7 - 8). At last call the function by passing num1 and num2 as arguments and print the result (Line 10).

6 0
3 years ago
22. Write the following in full un computer
exis [7]

Answers :

h. SATA : Serial Advanced Technology Attachment

i. DVI : Digital Visual Interface

k. EIDE : Enhanced Integrated Drive Electronics

l. AGP : Accelerated Graphics Port

m. GPU : Graphics Processing Units

n. HDMI : High-Definiton Multimedia Interface

o. ID10T : One-D-Ten-T

p. MOBO : Motherboard/Mainboard

Step-by-step explanation:

h. SATA, in full serial advanced technology attachment, also called serial ATA, an interface for transferring data between a computer's central circuit board and storage devices. SATA replaced the long-standing PATA (parallel ATA) interface.

i.Digital Visual Interface (DVI) is a video display interface developed by the Digital Display Working Group (DDWG). The digital interface is used to connect a video source, such as a video display controller, to a display device, such as a computer monitor.

k. Enhanced (sometimes "Expanded") IDE is a standard electronic interface between your computer and its mass storage drives. EIDE's enhancements to Integrated Drive Electronics (IDE) make it possible to address a hard disk larger than 528 Mbytes.

l. AGP, in full accelerated graphics port, graphics hardware technology first introduced in 1996 by the American integrated-circuit manufacturer Intel Corporation.

m. The graphics processing unit, or GPU, has become one of the most important types of computing technology, both for personal and business computing. Designed for parallel processing, the GPU is used in a wide range of applications, including graphics and video rendering.

n. High-Definition Multimedia Interface (HDMI) is a proprietary audio/video interface for transmitting uncompressed video data and compressed or uncompressed digital audio data from an HDMI-compliant source device, such as a display controller, to a compatible computer monitor, video projector, digital television,etc.

o.A. I. (IDIOT) A term often used by technical people to refer to human error. It enables them to talk to each other in front of an unsuspecting user; for example, "I think our friend here has a code ID 10 T error." Another spelling variation uses the digit "1" instead of the letter "I" (1D10T).

p.Motherboard (Mobo, MoBo, mobo), sometimes called the Mainboard, is the main printed circuit board in a computer or other electronic device. It's called a motherboard because it is the main circuit board in a computer. The features and services of motherboard can be extended by plugging other circuit boards into it.

6 0
3 years ago
After compiling source code, which command still needs to be run in order to copy the newly compiled binaries into a directory l
kumpel [21]

Answer:

Make install

Explanation:

In Computer programming, after compiling source code, make install still needs to be run in order to copy the newly compiled binaries into a directory listed in the PATH variable as well as copy supporting files (such as man pages) to the correct location on the filesystem.

In general, the commands that are executed by make install are defined in the Makefile.

5 0
4 years ago
Other questions:
  • What are the advantages of renting a home over buying a home? What are some disadvantages?
    13·1 answer
  • Explain why living things store energy in lipids instead of in carbohydrates
    5·1 answer
  • What term is used to describe the harassment of computer users through various forms of internet communications?
    5·1 answer
  • List two reasons why buying a computer is no easy task?
    7·1 answer
  • failure of the _ cylinder will often result in sudden unexpected loss of the ability to stop the vehicle
    10·1 answer
  • Which of the following identifies the goods or services of a
    15·2 answers
  • 1.Menciona tres factores o variables que consideras influirán en el oscurecimiento del alimento cortado o pelado expuesto a la i
    8·1 answer
  • Tulio is editing his video. He used the Trim Video tab. Tulio most likely changed the
    12·1 answer
  • To keep files organized, related documents are often stored in ____ (also called directories) located on the storage medium.
    11·1 answer
  • What is destination email address​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!