code for apples and oranges codehs plz​

Answers

Answer 1
function start(){
var numApps = 20;
println("Number of Apples: " + numApps);

var numOra = 15;
println("Number of Oranges: " + numOra);

var numOrg = 0;
println("Number of Apples: " + numApps);

println("Number of Apples: " + numOra);
}
Answer 2

In this exercise, using the knowledge of computational language in python, we have that this code will be written as:

The code is in the attached image.

We can write the python  as:

function start(){

var numApps = 20;

println("Number of Apples: " + numApps);

var numOra = 15;

println("Number of Oranges: " + numOra);

var numOrg = 0;

println("Number of Apples: " + numApps);

println("Number of Apples: " + numOra);

}

See more about python at brainly.com/question/13437928

Code For Apples And Oranges Codehs Plz

Related Questions

______ provide visual representations of the options available for a given command

Answers

The visual representations is provided by the Gallery in the computer system.

Basically, gallery means the collection of pictures in a Computer.

Gallery is what enables systematic display and the management of distinct images in the computer.

A very good illustration is use of Clipart images. It is a ready made picture gallery available in the computer.

Every function on computer are represented with an icon, the icon images are enable through the Gallery.

In conclusion, the Visual representations of the options available for a given command is provided by the Gallery.

Read more about Gallery here

brainly.com/question/2946480

What does ATM mean on lego mario mean I know that this is not school related but I trying to help my brother ​

Answers

Answer:

I HAVE NO IDEA-

Explanation:

What operating system are you using? On most computers, you can answer this question by right-clicking on the "My Computer" icon on the desktop and selecting Properties from the menu. The line under System: tells you the name of your operating system. Enter the name of your OS in the space provided

Answers

Answer

Chrome OS

Explanation:

i cant tell whether this is a question you c&p'd or if your genuinely asking people what os they're running

urgent. I will mark you brainliest. explain why cyber warfare is a real threat.​

Answers

Answer: Cyber warfare is a real threat since being able to hack another computer especially a countries computer with lots of info in their weaknesses can lead to their downfall. Since they can even possibly if their skilled enough hack their entire data base system and leak it to the public and that wouldn't be good for them not in a single possible way. That's the reason it's dangerous not only that but also because they can access their servers; which can let them access anything online from the whole country including banking information military info which can let them know which area there gonna go to next equipment there gonna bring and where they're gonna launch missiles, bombs, even nukes if they decide to launch one. And being able to hijack the computer that launches the nukes can make the hacker launch the nuke to a different place or launch the nuke on the country trying to launch the nuke.

Explanation:

Answer:

Cyber warfare can present a multitude of threats towards a nation.

Explanation:

At the most basic level, cyber attacks can be used to support traditional warfare. For example, tampering with the operation of air defenses via cyber means in order to facilitate an air attack.

identify the data type and the conversation specification of the given constant '100.75'

Answers

Answer:

primitive data type

Explanation:

please mark me as brainlest

The data type and the conversation specification of the given constant '100.75' is a Floating-point.

What is a Floating-point?

This is known to be a data type that is made up of number that has a decimal point. For example 111.75

Conclusively, Note that the Floating-point can be shown to have slower and less correct and they can be used for a larger amount of numbers and thus the data type and the conversation specification of the given constant '100.75' is a Floating-point.

Learn more about  data type from

https://brainly.com/question/179886

#SPJ2

Problem Solving while not necessary for every situation, it is recommended to follow most if not all steps. O True O False​

Answers

Answer:

True

Explanation:

Problem Solving is really important.

PLS HELP! WILL MARK BRAINLIEST!!! Fiona's favorite camera allows her to view, compose, and focus her subject through
the lens, which means she sees her picture through the frame. She can also switch
out the lens for more control of elements like distance, overall focus, and brightness,
and she enjoys how the camera functions well on an automatic setting.
What type of
camera is likely Fiona's favorite based on this description?
1. point & shoot
2. digital single lens reflex (DSLR)
3. ILC
4. hybrid camera

Answers

The type of  camera which is likely Fiona's favorite based on the above description is: 2. digital single lens reflex (DSLR).

A camera can be defined as an optical, electronic device that has an aperture fitted with a lens and a shutter for recording and capturing visual images.

Generally, there are different types of camera and these include:

Point and shootHybrid cameraInterchangeable lens camera (ILC)Bridge camerasMirrorless camerasDigital single lens reflex (DSLR)

A digital single lens reflex (DSLR) is designed to combine the operational mechanism and optics of both a single lens reflex camera and a digital imaging sensor. Thus, a digital single lens reflex (DSLR) can be used for the following:

1. Seeing your pictures through the frame.

2. To control visual elements such as distance, overall focus, and brightness.

Read more on DSLR here: https://brainly.com/question/25884751

Output devices allow the user to enter information into the system or control its operation.
True or False

Answers

Output devices allow the user to enter information into the system or control its operation: False.

A computer can be defined as an electronic device that is designed and developed to receive data (instructions) in raw form as an input, and then processes these data into an information (output) that is usable by an end user.

Basically, the main parts or components of a computer include the following;

Central processing unit (CPU): this is the brain of a computer and it does all the processing and logical control.Input devices: they are used for entering data or information into a system. Some examples of input devices are keyboard, mouse, scanner, etc.Motherboard: this is the circuitry upon which other components are installed.Output devices: they are used for displaying the processed information from a system. Some examples of output devices are printer, monitor, speaker, etc.

For instance, an end user can use a keyboard as an input device to enter commands or type textual information on a computer system.

Also, a mouse is an input device that can be used by an end user to select one or more time on a computer system.

In conclusion, input devices rather than output devices allow an end user to enter information into a system or control its operation.

Read more: https://brainly.com/question/17402566

Match the TCP/IP Layer to a problem that can happen there.

1. Mistyped address
Internet layer
2. Packets fail to arrive
application layer
3. Server not found
transport layer

Answers

Answer:

server not found transport layer

Answer:

2 Transport layer

3 Internet layer

1 Application layer

Explanation:

because i got it right

Bias in the development of computational artifacts often arises from _____. Select 2 options.

testing software


conscious bias


including outliers


unconscious stereotyping


accurate data

Answers

Answer:

concious bias

unconciscous sterotyping

Explanation:

The bias in computational artifacts results in conscious bias and unconscious stereotyping. Thus, options A and C are correct.

What is a bias in technology?

A bias in technology is given as the developed system of the systematic and repeatable errors that makes the formation of the unfair outcomes. The development of the working outcomes formed is responsible for the development of the inappropriate function of linked processes.

The development of the bias in the computational artifacts is found to be the result of conscious bias and unconscious stereotyping. Thus, options A and C are correct.

Learn more about bias, here:

https://brainly.com/question/13044778

#SPJ2

Hi I got a new phone and my photos are taking so long to download, on Friday it was at 13000 what do I do it’s taking so long

Answers

Answer:

Try to use your mobile data but it might use up quite a bit. Also instead of downloading it transfer it to a laptop or a usb stick, or you can upload your photos to the cloud.

Please help



Due at 11:59

Answers

Answer:

1) IDEAL First Step: Identify

You need to get to the bottom of the issue, not play the blame game.

Have your team members (perhaps after a team-building game like #7) write all the causes they can think of on a large white board. Go through them one-by-one, asking one question: what caused this cause?

By backtracking to the ultimate root cause, you create a solid foundation for further discussion.

Explanation:

Answer:

a silly problem would be the problem of me not wanting to give an answer. how would you solve that problem.

Explanation:

cuales son las caracteristicas principales del AMD Ryzen 5 5600X 3.7GHz ,Nfortec Lynx Cristal Templado USB 3.0 RGB Blanco , Asus PRIME B450M-A II , Corsair Vengeance RGB Pro Optimizado AMD DDR4 3200 16GB 2x8GB CL16 , Kingston FURY Beast DDR4 3200 MHz 16GB 2x8GB CL16, MSI GeForce GT 730 Low Profile 2GB GDDR3 , LG 24MP59G-P 24" LED Full HD IPS,Logitech Wireless Combo MK270 Teclado Inalámbrico
Recíbelo mañana , Tempest MS-300 RGB Soldier Ratón Gaming 4000DPI , Asus PCE-AC51 Adaptador Inalámbrico PCI-e AC750 , Creative Sound Blaster Play! 3 Tarjeta de Sonido USB, Kioxia EXCERIA 480GB SSD SATA y Tempest Gaming GPSU Fuente de Alimentación 750W?

Answers

It’s 300 gb for gta 5 and gta rp and then the internet and I don’t want it

what are The yoshi Themes in super smash bros ultimate

Answers

Answer:

I believe there's Yoshi's Island Brawl, and Yoshi's Island for 3DS/Wii U

Explanation:

Write a Boolean function named isPrime which takes an integer as an argument and returns true if the argument is a prime number, or false otherwise. Use the function in a program that prompts the user to enter a number then displays a message indicating whether the number is prime.

Answers

Answer:

public static lotsof verbosekrap(String args[]) {

int num;

printf("Enter this nonsense BF: ");

scanf("%d", &num);

isPrime(num);

}

public boolean isPrime(int num) {

      if (num == prime) {

        returns true;

       } else {

        returns "your mom sucks and fails";

}

Explanation:

this is a mix of C and Java, I don't care

explain how VPN works and name the 3 VPN protocol

Answers

Explanation:

A VPN hides your IP address by letting the network redirect it through a specially configured remote server run by a VPN host. This means that if you surf online with a VPN, the VPN server becomes the source of your data. This means your Internet Service Provider (ISP) and other third parties cannot see which websites you visit or what data you send and receive online. A VPN works like a filter that turns all your data into "gibberish". Even if someone were to get their hands on your data, it would be useless.

1) PPTP

Point-to-Point Tunneling Protocol

2)) L2TP/IPSec(Layer 2 tunnelling protocol)

3) secure socket tunnelling protocols)

Output devices allow the user to enter information into the system or control its operation.
True or False

Answers

Answer:

False.

Explanation:

what is good work ethic?​

Answers

Answer:

A strong work ethic is an important part of being successful in your career. Work ethic is a set of values based on the ideals of discipline and hard work. ... Forming good habits such as focusing, staying motivated, finishing tasks immediately, and more helps to create a good work ethic that will impress employers.

Explanation:

HOPE IT HELPS

Which of the following are parts of the physical layer?

pins
pointers
connectors
cables

Answers

Answer:pointers and connectors im pretty sure

Explanation:

my teacher said it was right

The following are parts of the physical layer:

ConnectorsCables



What is physical layer?
In computer networking, the physical layer is the first and lowest layer in the OSI (Open Systems Interconnection) model, which describes how data is transmitted over a network. The physical layer is responsible for transmitting raw bits over a communication channel, such as cables or wireless transmission, without any regard for the meaning or structure of those bits. It is concerned with the mechanical, electrical, and timing aspects of the physical transmission of data, including the physical characteristics of the transmission medium, such as voltage levels, signaling speed, modulation, and encoding.

The following options are parts of the physical layer in computer networks:

Connectors: These are physical interfaces that connect two devices or systems to enable communication. Examples include Ethernet ports, USB ports, and HDMI ports.

Cables: These are physical transmission media that carry signals between devices. Examples include copper cables, fiber optic cables, and coaxial cables.

"Pins" and "pointers" are not typically considered parts of the physical layer in computer networks. "Pins" is a term that can refer to the metal contacts in a connector or the protrusions on an integrated circuit. "Pointers" are variables in programming that store memory addresses, used to access data stored in memory.


To know more about memory visit:
https://brainly.com/question/29767256
#SPJ1

Why would over-50 executives have a harder time buying into the idea of social media?​

Answers

Answer:

Most likely that social media has a large number of user base already and also a large number of social media platforms are already there so it is hard to compete will those big competitors like Discord.

please give brainliest

What are the major prevention measures of a computer virus?​

Answers

Answer:

use a firewall as well as a strong password

Read a number, add 10% and output the result.

Answers

Let's use python

Program:-

[tex]\tt num=(int(input("Enter\:the\: number:")))[/tex]

[tex]\tt p=0.1*num[/tex]

[tex]\tt print("The\: result\:is",p)[/tex]

Sample output:-

Enter the number: 100

The result is 10

VAX is an example of a:​

Answers

Answer:

VAX architecture is an example of the CISC (Complex Instruction Set Computers) therefore there are large and complicated instruction sets used in the system. Memory: VAX architecture consists of 8- bit bytes memory

example of graphics packages​

Answers

Answer:

adobe photoshop, ms paint, corel draw..and more

Remember not to use tools that are ________ in any way.

Answers

Answer (Broken)

The answer is broken because I took the test and it is the most logical answer.

Hope this helps have a nice day :)

Remember not to use tools that are broken in any way. Thus, the correct option for this question is D.

What are tools?

Tools may be defined as any type of instrument or a simple piece of equipment that you hold in your hands and utilized to do a particular kind of work. Some examples of tools may include, spades, hammers, knives, etc.

A tool can be any item that is used to achieve a goal. Equipment usually denotes a set of tools that are used to achieve a specific objective. But prior to their utilization, it is to be remembered that never use tools that are broken by any means.

Therefore, remember not to use tools that are broken in any way. Thus, the correct option for this question is D.

To learn more about Tools, refer to the link:

https://brainly.com/question/25860017

#SPJ2

Write a recursive function encode that takes two Strings as an input. The first String is the message
to be encoded and the second String is the key that will be used to encode the message. The function
should check if the key and message are of equal length. If they are not the function must return the
string “Key length mismatch!”. How do I write this

Answers

Answer:

68hm

Explanation:

gdhdhdhfhfhrkiduv

chọn lợn theo hướng lấy thịt

Answers


bạn muốn tôi làm điều đó như thế nào? Tôi sẽ giúp bạn nếu tôi có thể. Xin lỗi. Chúa phù hộ

Consider a byte-addressable computer with 24-bit addresses, a cache capable of storing a
total of 64KB of data, and blocks of 32 bytes. Show the format of a 24-bit memory address for:
(a) Direct mapped
(b) Associative
(c) 4-way set associative

Answers

Answer:

A.

Explanation:

yan Ang sagottt ko yannnnnñnnnnnnnnnnnnn

In this exercise, we examine how pipelining affects the clock cycle time of the processor. Problems in this exercise assume that individual stages of the datapath have the following latencies:
IF ID EX MEM WB
250ps 350ps 150ps 300ps 200ps
Also, assume that instructions executed by the processor are broken down as follows:
alu beq sw sw
45% 20% 20% 15%
1. What is the clock cycle time in a pipelined and non-pipelined processor?
2. What is the total latency of an LW instruction in a pipelined and non-pipelined processor?
3. If we can split one stage of the pipelined datapath into two new stages, each with half the latency of the original stage, which stage would you split and what is the new clock cycle time of the processor?
4. Assuming there was are no stalls or hazards, what is the utilization of the data memory?
5. Assuming there are no stalls or hazards, what is the utilization of the write-register port of the "Registers" unit?
6. Instead of a single-cycle organization, we can use a multi-cycle organization where each instruction takes multiple cycles but one instruction finishes before another is fetched. In this organization, an instruction only goes through stages it actually needs (e.g., ST only takes 4 cycles because it does not need the WB stage). Compare clock cycle times and execution times with single-cycle, multi-cycle, and pipelined organization

Answers

The clock cycle time in a pipelined and non-pipelined processor will be 350ps and 1250ps respectively.

1. The clock cycle time in a pipelined processor will be the slowest instruction decode which is 350ps. The clock cycle time in a non-pipelined processor will be:

= 250 + 350 + 150 + 300 + 200

= 1250ps

2. The total latency of an LW instruction in a pipelined processor will be:

= 5 × 350 = 1750ps.

The total latency of an LW instruction in a non-pipelined processor will be:

= 250 + 350 + 150 + 300 + 200

= 1250ps

3. Based on the information asked, the stage to be split will be the cycle time. Now, the new cycle time will be based on the longest stage which will be 300ps.

4. It should be noted that the store and load instruction is used for the utilization of memory. The load instruction is 20% of the time while the store instruction is 15% of the time. Therefore, the utilization of data memory will be:

= 20% + 15% = 35%

5. The utilization of the write-register port of the "Registers" unit will be:

= 20% + 45% = 65%

6. The multi cycle execution time will be:

= (5 × 20%) + [4 × (45% + 20% + 15%)]

= (5 × 0.2) + (4 × 0.8)

= 1 + 3.2

= 4.2

The single cycle execution time will be:

= Cycle time non-pipeline / Cycle time pipeline

= 1250/350

= 3.5

Read related link on:

https://brainly.com/question/25231696

Someone I had an idea about how to identify any question. so look at this question for instance (no need to answer i have it already):

Students use a microscope to look for structures present in four different cells. The students placed an X for each structure that was viewed for each cell on the table shown. Which cell that was viewed is most likely a prokaryote?

Cell W
Cell X
Cell Y
Cell Z

(the correct answer was cell x)

Alright so how could we identify this? I think I have devised a method!

^charicters|#words|~vowls|-answers|+platform|$subject|
^255|#49|~71|-W/X/Y/Z|+USAtp|$BIO

So basically we only need a little information to identify any question as you can see.
Tell me what you think or if it could become the way to get answers. You could go and fill in the question (^charicters|#words|~vowls|-answers|+platform|$subject|) on website and find the very same question and its answer.

Answers

Answer:

thts really cool

Explanation:

i didnt answer bc u alr have it the reason i answered this is bc i need pts so pls make me brainliest

Other Questions
ribosomes are the most essential organelle in the cell. Include Evidence of at least 3 organetles that support the ribosome in accomplishing its fonction for at the cell. Raw Minerals are ________ (Mark all that apply)A. abiotic and found in the organism's ecosystemB. biotic and found in the organism's ecosystem.C. necessary to support lifeD. not needed to support The length of a rectangle is 2.5times its width. The length ofthe rectangle is 12 cm. What isthe width of the rectangle? What is greater -8.875 or -8 9/10 Find an equation for the line that passes through the points (-5, -5) and (1,5). Im trying to get a quick answer please. How does cristopher define the truth help please sorry its blurry 1. In what ways does "Hills Like White Elephants" exemplify Hemingway's iceberg technique Please help!!! geometry A maritime flag is shown what is the area of the shaded part of the flag what is the final position on the number line "-3," 8, "-4" explain how VPN works and name the 3 VPN protocol He overwhelmed the boxer with avalanches of punches metaphor or similes SpointsYou are stenciling wooden boxes to sell at a fair. Stenciling takes 2 hours for a small box and 3 hours for a large box. Profit for a small box is $10 and $20 for a large box. Ifyou have no more than 30 hours available to stencil, but want at least 12 boxes to sell, how many of each size box should you sell to maximize your profit? (x = small boxesand y large boxes)Solve the problem to fill in the blanks below find the inverse of the function. f(q)=-9(q+6)^3 Nick and Charlie were each trying to solve 3x+9=4x5. Describe the first step they each make to the equation.Drag and drop the correct response to the spacePut responses in the correct input to answer the question. Select a response, navigate to the desired input and insert the response. Responses can be selected and inserted using the space bar, enter key, left mouse button or touchpad. Responses can also be moved by dragging with a mouse.The result of Nick's first step was x + 9 = 51. What was Nick's first step? The result of Charlie's first step was 9 = x - 52. What was Charlie's first step? Adam won 80 super bouncy balls playing the bean bag toss at his school's game night. Later, he gave four to each of his friends. He only has 4 remaining. How many friends does he have? solve pls brainliest Linwood Johnson has a check for $1395.50 in a check for 876 callers and $.25 he also has $10 in one dollar bills he would like to receive $475 in cash and deposit the rest of the money in the savings account watch the total deposit Solve for g9+3.5g=11-0.5g