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 1

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


Related Questions

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

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

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

example of graphics packages​

Answers

Answer:

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

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

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

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.

What type of data causes concern for institutions or business when collected, stored, and not secured prope
Advertising information
Personal identifying Information
User interface information
Marketing information

Answers

The type of data which causes concern for institutions or business when collected, stored, and not secured properly is: B. Personal Identifying Information.

A personal identifying information (PII) can be defined as any representation of data or information that can be used to identify the specific identity of an individual.

Basically, a personal identifying information (PII) is an information that permits the specific identity of an individual to whom the information is ascribed or attributed.

Some examples of a personal identifying information (PII) include the following:

Social security number (SSN).E-mail address.Driver's license number.Bank account number.Full name.Passport number.

As a general rule, it is very important and essential that institutions or business organizations that are in possession of personal identifying information (PII) should secure them properly, in order to avoid data breach or unauthorized access by hackers.

Read more: https://brainly.com/question/4997276?referrer=searchResults

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:

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ộ

______ 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

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

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

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:

You designed a program to find the average of the user’s numbers.

Which step below corresponds to asking the user for the numbers?

Answers

Answer:

Perform any needed calculations or data manipulations.

Explanation:

Answer:

Perform any needed calculations or data manipulations.

Explanation:

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.

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

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

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

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

if you are going to develop a special computer, what would it be and explain it's purpose.​

Answers

Answer:

It would be to figure out what cancers someone could exactly so no need for a biopsy

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)

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

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:

2
3
4
5
6
9
10
TIME REMAINING
01:34:03
ni
Fill in the blank with the correct response.
The
on the following image
b
link b-quote det ins img ut
ol
li code
more
lookup close tags proofread fullscreen
stands for bolding
text.
Save and Exit
Next
Submit
Mark this and return

Answers

The first one, “b” out of the answers is the correct answer

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

Answers

Answer:

False.

Explanation:

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

Answers

Answer:

use a firewall as well as a strong password

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.

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

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

Other Questions
Question 10 (5 points) (02.04 LO Which of the following most likely causes the particles in a chemical reaction to slow down? (5 points) Ralsing the thermal energy of the particles DU a Ob Increasing the rate of the reaction OC Lowering the temperature Od Adding heat to the reaction What is the solution of the following system?-2x - y = 1 -4x - 2y = -1 A. infinitely many solutions B. no solutions C. (3, 8) D. (3, 8) Find the value of f(-5). A BROKEN HEART is listening to that one song that makes you break down over & over again. Which statement best explains why early humans were nomads? pls answer my module i give 10 pts for this Please answer me i need help 16) Virgil wants to buy a new mountain bike that costs $336. To earn money, he can either dochores for his neighbor or do yardwork for his parents. He earns $32 for 4 hours of chores and heearns $42 for 4 hours of yardwork. How much longer will it take him to earn the money if he onlydoes chores for his neighbor?A) 6 hoursB) 10 hoursC) 12 hoursD) 15 hours If Ms. Ramirez drops a watermelon from the top of the second-floor fire escape outside her room, and it takes 1.5 seconds to hit the ground, calculate the velocity of the watermelon as it hits the ground. 671 divided by 24 I need help Y>-3x-5 in linear inequality Please help, I'm due a heap load of homework tmr and I dont know my stuff for geography, could you help me with this? U just match the correct description to the correct word. e.g, A-6. Thanks BRAINLIEST ASAPEscoge la mejor opcin para completar la frase con la palabra correcta segn la lectura. Choose the best option to complete the sentence with the correct word according to the reading.Usa la cortesa. No te olvides de dar una propina. Es muy importante ser un husped respetuoso.Hay que ser un viajero ________ y no grosero. maleducado ligero puntual educado What is the midpoint between 0.3 and 0.4 Estimate the area of the irregular shape. Explain your method and show your work. Will Mark Brainliest if correct. And please Do Not Repost someone else's answers from brianly or another websites. factorise x^2 + 5x + 6= 0 At a school party there are 40 cookies there are 5 chocolate cookies and 3 oatmeal how many oatmeal cookies are there Sye Chase started and operated a small family architectural firm in Year 1. The firm was affected by two events: (1) Chase provided $18,800 of services on account, and (2) he purchased $7,500 of supplies on account. There were $1,050 of supplies on hand as of December 31, Year 1.Requireda. b. & e. Record the two transactions in the accounts. Record two separate entries for the closing entries. Record the required year-end adjusting entry to reflect the use of supplies and the required closing entries. Post the entries in the T-accounts and prepare a post-closing trial balance. Read the poem. Sea Roseby H.D. (Hilda Doolittle)Rose, harsh rose,marred and with stint of petals,meagre flower, thin,sparse of leaf,more preciousthan a wet rosesingle on a stemyou are caught in the drift.Stunted, with small leaf,you are flung on the sand,you are liftedin the crisp sandthat drives in the wind.Can the spice-rosedrip such acrid fragrancehardened in a leaf?Question 1Part AWhat is the central idea of the poem "Sea Rose" by H.D. (Hilda Doolittle)? 1. The sea rose's lack of petals, small leaves, and bitter smell make it unappealing. 2. The rose gets stuck in the currents between the sea and the sand, making it less worthy.3. The sea rose, even with its acrid scent, is more endearing than the traditional rose.4. The more traditional rosethe spice-roseis most preferred to roses battered by sea and sand.Question 2Part BWhich detail from the poem best develops the central idea identified in Part A? 1. more precious / than a wet rose / single on a stem" 2. Stunted, with small leaf / you are flung on the sand 3. marred and with stint of petals, / meagre flower, thin" 4. you are lifted / in the crisp sand / that drives in the wind how do indicators help to observe things that are too small to see