An entity can be said to have __ when it can be wronged or has feelings of some sort
PLEASE HELP!!!

An Entity Can Be Said To Have __ When It Can Be Wronged Or Has Feelings Of Some SortPLEASE HELP!!!

Answers

Answer 1
moral status because moral status is your feelings

Related Questions

It took her 9 more months but Marina has managed to save the full $725 plus more to cover fees to pay off the pay-day loan company. However, she forgot to account for the interest that had been compounding over time. Consider it is now 275 days later, the remaining loan was $725 and the APR is 47% compounded daily.

What is the total amount that Marina must now pay in order to pay off her the loan, accounting for interest?

What is the total amount of interest paid (not including fees)?

Answers

Answer:

she loaned 750 dollars.

it took her 9 months to repay it.

it was 275 days since she took out the loan.

the interest rate was 47% per year compounded daily.

the daily interest rate would be 47% / 365 / 100 = .0012876712 per day.

this assumes 365 days in a year, which is the standard assumption that i know of.

the future value of 750 for 275 days would be based on the formula of f = p * (1 + r) ^ n

f is the future value

p is the present value

r is the interest rate per time period (days in this case)

 

n is the number of time periods (days in this case).

the formula becomes:

f = 750 * (1 + .0012876712) ^ 275

solve for f to get:

f = 1068.440089.

that's the future value of the loan.

it's what she owes.

the interest rate on the loan is that value minus 750 = 318.440089.

that's how much extra she needs to pay in addition to whatever fees she was charged.

Consider this scenario: A major software company finds that code has been executed on an infected machine in its operating system. As a result, the company begins working to manage the risk and eliminates the vulnerability 12 days later. Which of the following statements best describes the company’s approach?

Answers

Answer:

The company effectively implemented patch management.

Explanation:

From the question we are informed about a scenario whereby A major software company finds that code has been executed on an infected machine in its operating system. As a result, the company begins working to manage the risk and eliminates the vulnerability 12 days later. In this case The company effectively implemented patch management. Patch management can be regarded as process involving distribution and application of updates to software. The patches helps in error correction i.e the vulnerabilities in the software. After the release of software, patch can be used to fix any vulnerability found. A patch can be regarded as code that are used in fixing vulnerabilities

Write a program called clump that accepts an ArrayList of strings as a parameter and replaces each pair of strings with a single string that consists of the two original strings in parentheses separated by a space. If the list is of odd length, the final element is unchanged. For example, suppose that a list contains

Answers

Answer:

In Java:

public static void clump(ArrayList<String> MyList) {  

   for(int i = 0; i<MyList.size()-1;i++){

       String newStr = "(" + MyList.get(i) + " "+ MyList.get(i + 1) + ")";

  MyList.set(i, newStr);

  MyList.remove(i + 1);

   }

       System.out.println("Updated ArrayList: " + MyList);

 }

Explanation:

First, we define the method

public static void clump(ArrayList<String> MyList) {  

Next, we iterate through the ArrayList

   for(int i = 0; i<MyList.size()-1;i++){

This clumps/merges every other ArrayList element

       String newArr = "(" + MyList.get(i) + " "+ MyList.get(i + 1) + ")";

This updates the elements of the ArrayList

  MyList.set(i, newArr);

This removes ArrayList elements at odd indices (e.g. 1,3...)

  MyList.remove(i + 1);

   }

This prints the updated List

       System.out.println("Updated ArrayList: " + MyList);

 }

How does PowerPoint know which objects to group? The objects are aligned side by side. The objects are placed in one part of the slide. The objects are selected using the Ctrl key. The objects are highlighted and dragged together.

Answers

Answer:the objects are selected using the Ctrl key

Explanation:

Just took it

Answer:      C

Explanation:

Write the Number class that can be used to test if the number is odd, even, and perfect. A perfect number is any number that is equal to the sum of its divisors. Write the NumberAnalyzer class that has an ArrayList of Number to determine how many numbers in the list are odd, even, and perfect.

Answers

Answer:

Explanation:

The following code is written in Python. It creates a class that takes in one ArrayList parameter and loops through it and calls two functions that check if the numbers are Perfect, Odd, or Even. Then it goes counting each and printing the final results to the screen.

class NumberAnalyzer:

   def __init__(self, myArray):

       perfect = 0

       odd = 0

       even = 0

       for element in myArray:

           if self.isPerfect(element) == True:

               perfect += 1

           else:

               if self.isEven(element) == True:

                   even += 1

               else:

                   odd += 1

       print("# of Perfect elements: " + str(perfect))

       print("# of Even elements: " + str(even))

       print("# of Odd elements: " + str(odd))

   def isPerfect(self, number):

       sum = 1

       i = 2

       while i * i <= number:

           if number % i == 0:

               sum = sum + i + number / i

           i += 1

       if number == sum:

           return True

       else:

           return False

   def isEven(self, number):

       if (number % 2) == 0:

           return True

       else:

           return False

3. In your application, you are using a stack data structure to manipulate information. You need to find which data item will be processed next, but you don’t want to actually process that data item yet. Which of the following queue operations will you use?
a) pop
b) push
c) peek
d) contains

Answers

Answer:

I think its contains, but i would ask on stack overflow.

Explanation:

Compression algorithms vary in how much they can reduce the size of a document.
Which of the following would likely be the hardest to compress?
Choose 1 answer:

A. The Declaration of Independence

B. The lyrics to all of the songs by The Beatles

C. A document of randomly generated letters

D. A book of nursery rhymes for children

Answers

b the lyrics to all of the songs by the beatles !

The statement that represents the thing that would likely be the hardest to compress is a document of randomly generated letters. Thus, the most valid option for this question is C.

What is an Algorithm?

An algorithm may be characterized as a type of methodology that is significantly utilized for solving a problem or performing a computation with respect to any numerical problems.

According to the context of this question, an algorithm is a set of instructions that allows a user to perform solutions with respect to several numerical and other program-related queries. It can significantly act as an accurate list of instructions that conduct particular actions step by step in either hardware- or software-based routines.

Therefore, the statement that represents the thing that would likely be the hardest to compress is a document of randomly generated letters. Thus, the most valid option for this question is C.

To learn more about Algorithms, refer to the link:

https://brainly.com/question/24953880

#SPJ3

Write a program that calculates the occupancy rate for a hotel. The program should start by asking the user how many floors the hotel has. A for loop should then iterate once for each floor. In each iteration of the for loop, the program should ask the user for the number of rooms of the floor and how many of them are occupied. After all of the iterations are complete the program should display how many rooms the hotel has, how many of them are occupied, and the percentage of rooms that are occupied.

Answers

Answer:

In Python:

floor = int(input("Number of floors: "))

totalrooms = 0

totaloccupied = 0

for i in range(floor):

   rooms = int(input("Rooms in floor "+str(i+1)+": "))

   occupied = int(input("Occupied Rooms in floor "+str(i+1)+": "))

   totalrooms = totalrooms + rooms

   totaloccupied = totaloccupied + occupied

   

print("Total Rooms: "+str(totalrooms))

print("Total Occupied: "+str(totaloccupied))

print("Percentage Occupied: "+str(round(100*totaloccupied/totalrooms,2))+"%")

Explanation:

This line prompts the user for number of rooms

floor = int(input("Number of floors: "))

This line initializes totalrooms to 0

totalrooms = 0

This line initializes totaloccupied to 0

totaloccupied = 0

This iterates through the floors

for i in range(floor):

This gets the number of rooms in each floor

   rooms = int(input("Rooms in floor "+str(i+1)+": "))

This gets the number of occupied rooms in each floor

   occupied = int(input("Occupied Rooms in floor "+str(i+1)+": "))

This calculates the total number of rooms

   totalrooms = totalrooms + rooms

This calculates the total number of occupied rooms

   totaloccupied = totaloccupied + occupied

   

This prints the total number of rooms

print("Total Rooms: "+str(totalrooms))

This prints the total number of occupied rooms

print("Total Occupied: "+str(totaloccupied))

This prints the percentage of occupied rooms to 2 decimal places

print("Percentage Occupied: "+str(round(100*totaloccupied/totalrooms,2))+"%")

When using the Mirror command you can delete the source object as the last step of the command. True or false

Answers

Answer:

The anwser is true it is true.

A study found that 9% of dog owners brush their dog's teeth. Of 578 dog owners, about how many would be expected to brush their dog's teeth?

Answers

Answer:

do 578/9 to get a awnser then multiply it by 100 for a awnser then devide it by 578

Explanation:

there you go

answer : 526
1% = 5.78
9% = 5.78 x 9 which is 52
578-52 = 526

You plan on using cost based pricing. The cost of your product is 10, and you are planning a 30% mark up. What should the price of your product be?

Answers

Answer:

Selling price= $13

Explanation:

Giving the following information:

The cost of your product is $10, and you are planning a 30% mark-up.

The price of the product is calculated by adding to the manufacturing costs a predetermined percentage.

Selling price= 10*1.3

Selling price= $13

Hope this helps :)

Write a program with the total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels, and Pennies. Use singular and plural coin names as appropriate, like 1 Penny vs. 2 Pennies. The input should be an integer, with the unit as "cents". For example, the input of 126 refers to 126 cents. 1 Dollar = 100 cents 1 Quarter = 25 cents 1 Dime = 10 cents 1 Nickel = 5 cents 1 Penny = 1 cent Ex: If the input is:

Answers

Answer:

In Python:

cents = int(input("Cents: "))

dollars = int(cents/100)

quarters = int((cents - 100*dollars)/25)

dimes = int((cents - 100*dollars- 25*quarters)/10)

nickels = int((cents - 100*dollars- 25*quarters-10*dimes)/5)

pennies = cents - 100*dollars- 25*quarters-10*dimes-5*nickels

if not(dollars == 0):

   if dollars > 1:

       print(str(dollars)+" dollars")

   else:

       print(str(dollars)+" dollar")

if not(quarters == 0):

   if quarters > 1:

       print(str(quarters)+" quarters")

   else:

       print(str(quarters)+" quarter")

if not(dimes == 0):

   if dimes > 1:

       print(str(dimes)+" dimes")

   else:

       print(str(dimes)+" dime")

if not(nickels == 0):

   if nickels > 1:

       print(str(nickels)+" nickels")

   else:

       print(str(nickels)+" nickel")

if not(pennies == 0):

   if pennies > 1:

       print(str(pennies)+" pennies")

   else:

       print(str(pennies)+" penny")

   

Explanation:

A prompt to input amount in cents

cents = int(input("Cents: "))

Convert cents to dollars

dollars = int(cents/100)

Convert the remaining cents to quarters

quarters = int((cents - 100*dollars)/25)

Convert the remaining cents to dimes

dimes = int((cents - 100*dollars- 25*quarters)/10)

Convert the remaining cents to nickels

nickels = int((cents - 100*dollars- 25*quarters-10*dimes)/5)

Convert the remaining cents to pennies

pennies = cents - 100*dollars- 25*quarters-10*dimes-5*nickels

This checks if dollars is not 0

if not(dollars == 0):

If greater than 1, it prints dollars (plural)

   if dollars > 1:

       print(str(dollars)+" dollars")

Otherwise, prints dollar (singular)

   else:

       print(str(dollars)+" dollar")

This checks if quarters is not 0

if not(quarters == 0):

If greater than 1, it prints quarters (plural)

   if quarters > 1:

       print(str(quarters)+" quarters")

Otherwise, prints quarter (singular)

   else:

       print(str(quarters)+" quarter")

This checks if dimes is not 0

if not(dimes == 0):

If greater than 1, it prints dimes (plural)

   if dimes > 1:

       print(str(dimes)+" dimes")

Otherwise, prints dime (singular)

   else:

       print(str(dimes)+" dime")

This checks if nickels is not 0

if not(nickels == 0):

If greater than 1, it prints nickels (plural)

   if nickels > 1:

       print(str(nickels)+" nickels")

Otherwise, prints nickel (singular)

   else:

       print(str(nickels)+" nickel")

This checks if pennies is not 0

if not(pennies == 0):

If greater than 1, it prints pennies (plural)

   if pennies > 1:

       print(str(pennies)+" pennies")

Otherwise, prints penny (singular)

   else:

       print(str(pennies)+" penny")

   

why was the 80s bad for Disney i know one example but ill tell you after you answer

Answers

Answer:

The dark stories behind it? i dont  know lol

What styles can the calendar be printed in? Check all that apply.

Quick
Daily style
Weekly Agenda style
Weekly Calendar style
Monthly Agenda style
Monthly style
Bifold style
Trifold style

Answers

Please Help! Unit 6: Lesson 1 - Coding Activity 2
Instructions: Hemachandra numbers (more commonly known as Fibonacci numbers) are found by starting with two numbers then finding the next number by adding the previous two numbers together. The most common starting numbers are 0 and 1 giving the numbers 0, 1, 1, 2, 3, 5...
The main method from this class contains code which is intended to fill an array of length 10 with these Hemachandra numbers, then print the value of the number in the array at the index entered by the user. For example if the user inputs 3 then the program should output 2, while if the user inputs 6 then the program should output 8. Debug this code so it works as intended.

The Code Given:

import java.util.Scanner;

public class U6_L1_Activity_Two{
public static void main(String[] args){
int[h] = new int[10];
0 = h[0];
1 = h[1];
h[2] = h[0] + h[1];
h[3] = h[1] + h[2];
h[4] = h[2] + h[3];
h[5] = h[3] + h[4];
h[6] = h[4] + h[5];
h[7] = h[5] + h[6];
h[8] = h[6] + h[7]
h[9] = h[7] + h[8];
h[10] = h[8] + h[9];
Scanner scan = new Scanner(System.in);
int i = scan.nextInt();
if (i >= 0 && i < 10)
System.out.println(h(i));
}
}

Answer:

Daily style

Weekly Agenda style

Weekly Calendar style

Monthly style

Trifold style

or

B, C, D, F, H

I need help for my computer science class I would appreciate it

Answers

Answer:

21

Explanation:

a = 7

b = 7

c = 2

7 is greater than or equal to 7 , so it will return 7 + 7 *2 which is 21

Create a flowchart that assigns a counselor to a student.
You need to ask a student for the first letter of his/her last name. Assign a counselor based on the following criteria:
A through M are assigned to Ms. Jones
N through Z are assigned to Mr. Sanchez

Answers

Please Help! Unit 6: Lesson 1 - Coding Activity 2
Instructions: Hemachandra numbers (more commonly known as Fibonacci numbers) are found by starting with two numbers then finding the next number by adding the previous two numbers together. The most common starting numbers are 0 and 1 giving the numbers 0, 1, 1, 2, 3, 5...
The main method from this class contains code which is intended to fill an array of length 10 with these Hemachandra numbers, then print the value of the number in the array at the index entered by the user. For example if the user inputs 3 then the program should output 2, while if the user inputs 6 then the program should output 8. Debug this code so it works as intended.

The Code Given:

import java.util.Scanner;

public class U6_L1_Activity_Two{
public static void main(String[] args){
int[h] = new int[10];
0 = h[0];
1 = h[1];
h[2] = h[0] + h[1];
h[3] = h[1] + h[2];
h[4] = h[2] + h[3];
h[5] = h[3] + h[4];
h[6] = h[4] + h[5];
h[7] = h[5] + h[6];
h[8] = h[6] + h[7]
h[9] = h[7] + h[8];
h[10] = h[8] + h[9];
Scanner scan = new Scanner(System.in);
int i = scan.nextInt();
if (i >= 0 && i < 10)
System.out.println(h(i));
}
}

Where can I watch jersey shore for free
Pls don’t say soap2day, any apps or something?

Answers

Answer:

maybe try Y o u t u b e

Explanation:

sometimes they have full episodes of shoes on there for free

Find an overall minimum two-level circuit (corresponding to sum of products expressions) using multiple AND and one multi-input OR gate per function for the following set of functions. Show a K-map for each function, and draw the final two-level circuit. You will have to share terms between F and G to find the minimum circuit.
F(a, b, c, d) = m(0, 1, 2, 3, 6, 7, 8, 10, 12, 13)
G(a, b, c, d) = {m(0, 1, 2, 3, 8, 9, 10, 13)

Answers

Answer:

si la pusiera en español te pudiera responer

This function finds the minimum number in a list. What should be replaced with in order for this function to operate as expected?

Answer choices:

A. numList[i] = min;
B. min = numList[i];
C. min = numList;
D. numList = min;

Answers

Answer: a

Explanation:

Just took the test

Package Newton’s method for approximating square roots (Case Study: Approximating Square Roots) in a function named newton. This function expects the input number as an argument and returns the estimate of its square root. The program should also include a main function that allows the user to compute the square roots of inputs from the user and python's estimate of its square roots until the enter/return key is pressed.An example of the program input and output is shown below:Enter a positive number or enter/return to quit: 2 The program's estimate is 1.4142135623746899 Python's estimate is 1.4142135623730951 Enter a positive number or enter/return to quit: 4 The program's estimate is 2.0000000929222947 Python's estimate is 2.0 Enter a positive number or enter/return to quit: 9 The program's estimate is 3.000000001396984 Python's estimate is 3.0 Enter a positive number or enter/return to quit

Answers

I’m confused what are you asking

The python program that calculates the volume and the square of the volume is as follows

radius = float(input("Radius: "))

volume = (4.0/3.0) * (22.0/7.0) * radius**3

sqrtVolume = volume**0.5

print(f'The volume is {volume} units cubed')

print(f'The square root of that number is {sqrtVolume}')

How to write the program?

The complete program written in Python where comments are used to explain each line is as follows

This gets the radius

radius = float(input("Radius: "))

#This calculates the volume

volume = (4.0/3.0) * (22.0/7.0) * radius**3

#This calculates the square root of the volume

sqrtVolume = volume**0.5

#This prints the volume

print(f'The volume is {volume} units cubed')

#This prints the square root of the volume

print(f'The square root of that number is {sqrtVolume}')

Therefore, The python program that calculates the volume and the square of the volume is as follows

radius = float(input("Radius: "))

volume = (4.0/3.0) * (22.0/7.0) * radius**3

sqrtVolume = volume**0.5

Read more about python programs at

brainly.com/question/26497128

#SPJ2

write a function insert_string_multiple_times() that has four arguments: a string, an index into the string, a string to insert, and a count. the function will return a string with count copies of the insert-string inserted starting at the index. note: you should only write the function. do not put any statements outside of the function. examples: insert_string_multiple_times('123456789',3,'xy',3) '123xyxyxy456789' insert_string_multiple_times('helloworld',5,'.',4) 'hello....world' insert_string_multiple_times('abc',0,'a',2) 'aaabc' insert_string_multiple_times('abc',0,'a',0) 'abc'

Answers

Answer:

Written in Python:

def insert_string_multiple_times(str1,indto,str2,count):

   splitstr = str1[:indto]

   for i in range(count):

       splitstr+=str2

       

   splitstr +=str1[indto:]

   print(splitstr)

Explanation:

This line defines the method

def insert_string_multiple_times(str1,indto,str2,count):

In the above definition:

str1 represents the string

indto represents index to insert a new string

str2 represents the new string to insert

count represents the number of times str2 is to be inserted

This gets the substring from the beginning to indto - 1

   splitstr = str1[:indto]

This performs an iterative operation

   for i in range(count):

This appends str2 to the first part of the separated string

       splitstr+=str2

This appends the remaining part of the separated string        

   splitstr +=str1[indto:]

This prints the new string

   print(splitstr)

State whether the data described below are discrete or​ continuous, and explain why. The durations of movies in seconds

Answers

Answer:

the data are continuous because the data can take any value in an interval.

Do not use the scanner class or any other user input request. You application should be self-contained and run without user input.

Assignment Objectives

Practice on implementing inheritance in Java

FootballPlayer will extend a new class, Person

Overriding methods

toString( ) (Links to an external site.)Links to an external site. which is a method from the Object class, will be implemented in OffensiveLine, FootballPlayer, Person and Height

Keep working with more complex classes

in the same way that FootballPlayer had a class as an attribute (Height height), OffensiveLine will have FootballPlayer as an attribute

Deliverables

A zipped Java project according to the How to submit Labs and Assignments guide.

O.O. Requirements (these items will be part of your grade)

One class, one file. Don't create multiple classes in the same .java file

Don't use static variables and methods

Encapsulation: make sure you protect your class variables and provide access to them through get and set methods

all the classes are required to have a constructor that receives all the attributes as parameters and update the attributes accordingly

Follow Horstmann's Java Language Coding GuidelinesLinks to an external site.

Organized in packages (MVC - Model - View Controller)

Contents

Person int number app Creates a Model object * String name Height * String position Height height int feet int inches int weight Model . String hometown . String highSchool .String toString( ) Creates three FootballPlayer objects Creates an OffensiveLine object using the three FootballPlayer objects Displays OffensiveLine information Displays OffensiveLine average weight . String toString() extends FootballPlayer * String position . String toString() int number OffensiveLine .FootballPlayer center .FootballPlayer offensiveGuard .FootballPlayer offensiveTackle . String toString()

Create a Netbeans project (or keep developing from your previous lab) with

App.java

Model

Model.java

FootballPlayer.java

Height.java

Person.java

OffensiveLine.java

Functionality

The application App creates a Model object

The Model class

creates 3 FootballPlayer objects

creates an OffensiveLine object using the 3 FootballPlayer objects

displays information about the OffensiveLine object and its 3 players

it is a requirement that this should be done using the toString( ) method in OffensiveLine, which will use toString( ) in FootballPlayer

displays the average weight of the OffensiveLine

this will be done using the averageWeight in the OffensiveLine

The classes

App

it has the main method which is the method that Java looks for and runs to start any application

it creates an object (an instance) of the Model class

Model

this is the class where all the action is going to happen

it creates three football players

it creates an OffensiveLine object using the three players

displays information about the OffensiveLine

this has to be done using the OffensiveLine object

this is really information about its 3 players

the format is free as long as it contains all the information about each of the 3 players

displays the average weight of the OffensiveLine

this has to be done using the OffensiveLine object

this has to call the averageWeight method in OffensiveLine

Personhas the following attributes

String name;

Height height;

int weight;

String hometown;

String highSchool;

and a method

String toString( )

toString( ) overrides the superclass Object toString( ) method

toString( ) returns information about this class attributes as a String

encapsulation

if you want other classes in the same package yo have access to the attributes, you need to make them protected instead of private.

see more here.

FootballPlayerhas the following attributes

int number;

String position;

and a method

String toString( )

toString( ) overrides the superclass Object toString( ) method

toString( ) returns information about this class attributes as a String

Height

it is a class (or type) which is used in Person defining the type of the attribute height

it has two attributes

int feet;

int inches

and a method

String toString( )

toString( ) overrides the superclass Object toString( ) method

toString( ) returns information about this class attributes as a String

it returns a formatted string with feet and inches

for instance: 5'2"

OffensiveLinehas the following attributes

FootballPlayer center;

FootballPlayer offensiveGuard;

FootballPlayer offensiveTackle;

They might also be stored in an ArrayList

and two methodsString toString( )

toString( ) overrides the superclass Object toString( ) method

toString( ) returns information about the 3 players attributes as a String

int averageWeight()

calculates and returns the average weigh of the OffensiveLine.

it is calculated based on the weight of each of its players

Answers

يتريرينييننيخيوويميمسكيك

Please help ASAP!
A career can include classes, experiences, jobs, and:

A. fields.

B. training.

C. regions.

D. laws.

Answers

b. training is the correct answer

Paula weeded 40% of her garden in 8 minutes. How many minutes will it take to weed all of her garden at this rate ?

Answers

Answer:

38 minutes long

Explanation:

you would do 40% ÷ 8 to get your answer I think

What would a bar graph best be used for? State why and give 2-3 examples of things you could demonstrate with a bar graph.

Answers

Answer:

Reasons what bar graph is used for.

Explanation:

Bars are shown to compare and contrast data in a bar graph. For example, a data was collected through survey of average rainfall. It represents many unique categories by having many different groups. Those groups are plotted on the x-axis and on the y-axis, the measurements are plotted, like inches.

Hope this helps, thank you !!

You may have come across websites that not only ask you for a username and password, but then ask you to answer pre-selected personal questions about yourself. What can you conclude about this procedure and how it may increase your security?

Answers

Answer:

The questions are used to secure and identify you furthermore. Answering personal questions that only you can answer will deter someone from hacking into your account that easily.

Explanation:

Write a class called Dragon. A Dragon should have a name, a level, and a boolean variable, canBreatheFire, indicating whether or not the dragon can breathe fire. The class should have getter methods for all of these variables - getName, getLevel, and isFireBreather, respectively.

Answers

Answer: A dragon name could be name Holls and at level 14 and can breathe fire

Explanation:

Define a function roll() that takes no arguments, and returns a random integer from 1 to 6. Before proceeding further, we recommend you write a short main method to test it out and make sure it gives you the right values. Comment this main out after you are satisfied that roll() works.

Answers

Answer:

Follows are the code to this question:

#include <iostream>//defining a header file

using namespace std;

int roll()//defining a method roll

{

return 1+(rand() %5);//use return keyword that uses a rand method

}

int main()//defining main method

{

cout<<roll();//calling roll method that print is value

return 0;

}

Output:

4

Explanation:

In this code,  the "roll" method is defined, that uses the rand method with the return keyword, that returns the value between 1 to 6, and in the next step, the main method is declared, that uses the print method to calls the roll method.

I need help on these three questions I would really appreciate it

Answers

Answer:

True

c

void

Explanation:

I dont know how i know this...

x = 2. x+=15

Int returns number Boolean returns true of false . . . void return none.

Other Questions
hii pls help ill give brainliest if you give a correct answer :) Can you explain to me how you got it Please help. Thank you:) ________ were kings of all of the tribes of Israel.Abraham and IsaacMoses and JoshuaDavid and SolomonAhab and Jezebel How many apples, each of which weighs 2 ounces, are needed to balance three 2-pound weights? Do this problem carefully. WILL GIVE BRAINLIEST Classify each of the following as an example of predation, parasitism, competition, mutualism, or commensalism1. Kudzu brought into North America is rapidly spreading through the southeastern U.S. 2. It is estimated that stray cats are responsible for the deaths of over 40 million birds in Wisconsin alone each year. Rcrivez ces phrases en conjuguant leverbe au mode et au temps qui conviennent. Justifiezoralement votre rponse.1. L'enseignant demande que nous (rpondre) cettequestion. 2. Je pense que la solution du problme (tre)celle-ci. 3. Il se peut que cet appartement (tre) en vente.4. Il est dommage que votre cousine (partir) dj. 5. Ilespre que Lola (vendre) sa moto. 6. Il se demande s'il(russir) courir aussi longtemps Rewrite as a simplified fraction. 0.83 = ? A scientist performed an experiment during which she measured the energy transferred in each step of her experiment. The total quantity of energy transferred in all of the steps was less than the amount she measured at the beginning. What is the most likely explanation for this result? During the month of March, Harley's Computer Services made purchases on account totaling $45,500. Also during the month of March, Harley was paid $11,000 by a customer for services to be provided in the future and paid $37,900 of cash on its accounts payable balance. If the balance in the accounts payable account at the beginning of March was $78,300, what is the balance in accounts payable at the end of March computers can turn electrical energy into light and sound energy. which other type of energy does a computer produceA. Thermal EnergyB. chemical energyC. magnetic energyD. gravitational energy plz answer correctly: You deposit $8500 in an account that pays 1.78% annual interest. Find the balance after 10 years when the interest is compoundedmonthlyThe balance after 10 years is $ Van is sick and tired of his job. His doctor certifies that his health may be compromised if he continues to work at his current job. He sells his life insurance policy to Life Settlements, Inc. for $50,000 so he can take a break from work. He has paid $10,000 so far for the policy. How much of the $50,000 must Van include in his taxable income Point B, located at (-5, -8), is rotated 360. What are the coordinates of point B?O(-5, -8)(5,8)O (5,-8)0 (-5,8) helpppp its dueee rnnnn How did the arrival of Irish and German immigrants impact antebellum policies in American You work at an insurance agency. Your boss has asked you to purchase eight computer screens for the office. You are considering two online stores. The first store charges $629.99 total for the screens and offers free shipping. The second store charges $579.49 total for the same screens, and charges $39.99 for shipping all eight screens. Additionally, you have an online code for a $20 discount at the first store. What is the final cost for the store that offers the better deal? What evidence do we have that the Ancestral Puebloans depended on rainfall to farm? In the Heart of a Hero" - Imagine Brian Hart wasn't successful in saving anyone. Would he still be a hero? Why or why not?