HELP AASAP BRAINLIEST JUST HELP

HELP AASAP BRAINLIEST JUST HELP

Answers

Answer 1

Answer:

d

Explanation:

plz brainliest


Related Questions

Assuming dataFile is an ofstream object associated with a disk file named payroll.dat, which of the following statements would write the value of the salary variable to the file
A) cout < B) ofstream C) dataFile << salary;
D) payroll.dat <

Answers

Answer:

dataFile << salary;

Explanation:

To write salary to a file (payroll.dat) using ofstream, you make use of the following instruction:

ofstream dataFile;

myfile.open ("payroll.dat");

myfile <<salary;

myfile.close();

This line creates an instance of ofstream

ofstream dataFile;

This line opens the file payroll.dat

myfile.open ("payroll.dat");

This is where the exact instruction in the question is done. This writes the value of salary to payroll.dat

myfile <<salary;

This closes the opened file

myfile.close();

1.16 LAB: Input and formatted output: House real estate summary Sites like Zillow get input about house prices from a database and provide nice summaries for readers. Write a program with two inputs, current price and last month's price (both integers). Then, output a summary listing the price, the change since last month, and the estimated monthly mortgage computed as (currentPrice * 0.051) / 12 (Note: Output directly. Do not store in a variable.).
Ex: If the input is:
200000 210000
the output is:
This house is $200000. The change is $-10000 since last month.
The estimated monthly mortgage is $850.0.
Note: Getting the precise spacing, punctuation, and newlines exactly right is a key point of this assignment. Such precision is an important part of programming.
import java.util.Scanner;
public class LabProgram {
public static void main(String[] args) {
Scanner scnr = new Scanner(System.in);
int currentPrice;
int lastMonthsPrice;
currentPrice = scnr.nextInt();
lastMonthsPrice = scnr.nextInt();
/* Type your code here. */
}

Answers

Answer:

Please find the complete code and the output in the attachement.

Explanation:

In the code, a class "LabProgram" is defined, and inside the main method two integer variable "currentPrice and lastMonthsPrice" is defined that uses the scanner class object is used for a user input value, and in the next step, two print method is declared that print the calculate of the integer variable.

The program is an illustration of output formats in Java

The statements that complete the program are:

System.out.printf("This house is $%d. The change is $%d since last month.\n",currentPrice,(currentPrice - lastMonthsPrice));System.out.printf("The estimated monthly mortgage is $%.1f.\n",(currentPrice * 0.051)/12);

To format outputs in Java programming language, we make use of the printf statement, followed by the string literal that formats the required output

Take for instance:

To output a float value to 2 decimal place, we make use of the literal "%.2f"

Read more about Java programs at:

https://brainly.com/question/25458754

Choose the type of collection created with each assignment statement. collectionA = {5:2} collectionB = (5,2) collectionC = [5, 2]

Answers

Answer:

CollectionA is Dictionary

CollectionB is List

CollectionC is Tuple

Explanation:

List is recognized by the square brackets

Tuple by the parentheses

Dictionary by the curly brackets

Answer:

Dictionary collectionA

Tuple collectionB

List collectionC

Explanation:

A dictionary uses curly brackets. A tuple uses parentheses. A list uses square brackets.

Completing an algorithm means stating the ____ of an algorithm.



(Fill in the blank pls)

WARNING! pls don't do it if you don't want to do it, Don't put an answer that doesn't have anything to do with the question If you do I'll report you full stop!

The reward for answering and correctly :

I will give you the brainiest answer, Mark 5 star, send thanks, put a nice comment and don't forget the points as well!!! ( remember only if it's right!)

THANKS SO MUCH TO ALL!!!​

Answers

Answer:

procedures for calculation

If an ISP assigned you a /28 IPv6 address block, how many computers could be as- signed an address from the block?

Answers

Answer:

I think 14 hosts (computer)

Dan notices that his camera does not capture pictures correctly. It appears that less light is entering the camera. Which component of the camera could be responsible for the problem?

Answers

hi i think The lens but I am not sure

Social media marketing began in the mid
1970s
1980s
1990s
2000s

Answers

Answer:

1990's i think

Explanation:

If you are working in a word-processing program and need to learn about its features, the best place to get assistants is from the ________.
A. application's help menu
B. desktop
C. toolbar
D. start menu

Answers

Answer:

A

Explanation:

plz mark me brainlies

Answer:

A. Application's help menu

Explanation:

A specification can be a written document, a set of graphical, a formal mathematical model, a collection of usage scenarios (or, use cases), a prototype, or any combination of these.
A. True
B. False

Answers

Answer:

The given statement is "True". A further explanation is given below.

Explanation:

The specification would be a necessary condition that is explicitly indicated, for obvious reasons, concerning the great components throughout the prototype of being something. A detailed explanation of that same performance aspects, normally with particular established standards, is presented in terms appropriate to lead to the creation both for real manufacturing and building methods of such a component with either the personality traits mentioned throughout the structural performance.

So the above is the appropriate response.

What email program would you suggest and why?

Answers

Answer:

An email program

Explanation:

And why?

Answer:

I would suggest g m a i l.

Explanation:

I use G m a i l all the time and I think it is easy to use! A lot of people think it is great too! :)

What is the recommended solution if a computer performs slowly?

Answers

Answer:

Not sure what the class/context is, but here's what I'd do to diagnose a problem like that:

- Check to see what programs have high utilization of system resources in task manager and end them

- Prevent background startup processes from occuring on restart or from running in the background during normal use

- Figure out what hardware component is bottlenecking the system and upgrade it (HDD to SSD would be one example)

- If the issue is malware related, I would "flatten" the PC by wiping the entire system and reinstalling the OS (though some malware can persist even across this)

Source: I've worked as labs support

If a computer is performing slowly, there are several recommended solutions one can try to improve its performance, such as closing unnecessary programs, restarting the computer, etc.

Reviewing the programs that automatically start when the computer boots up and disabling unnecessary startup programs to reduce the time it takes for the computer to start and free up system resources. The specific solution may vary depending on the computer's operating system, hardware, and specific performance issues. It's always a good idea to back up important files before making any changes to your computer's configuration. If the performance issues persist, seeking assistance from a computer technician or IT professional may be necessary.

Learn more about computers here.

https://brainly.com/question/32297640

#SPJ6

Exercise 1.3.5: Expressing conditional statements in English using logic. info About Define the following propositions: c: I will return to college. j: I will get a job. Translate the following English sentences into logical expressions using the definitions above: (a) Not getting a job is a sufficient condition for me to return to college. (b) If I return to college, then I won't get a job. (c) I am not getting a job, but I am still not returning to college. (d) I will return to college only if I won't get a job. (e) There's no way I am returning to college. (f) I will get a job and return to college..

Answers

hope this helps!!!. i worked hat

var nums = [1,1, 2, 3, 5, 8, 13, 21];
var copyNums = [1,1, 2, 3, 5, 8, 13, 21];
for(var i=0; i < copyNums.length; i++){
if(copyNums[i] == 1){
insertItem(copyNums,i,"hello");
}
}
This code will create an infinite loop. Why does it create an infinite loop?

Answers

Answer:

Explanation:

This code creates an infinite loop because it is detecting that the first value of copyNums is 1, therefore it runs the insertItem code. This code then adds the value "hello" to the array in position i which would be 0. Then moves to the next value of the array, but since the element "hello" pushed the value 1 to the next index then the code just repeats itself with the same value of 1. This continues to happen because every time the value "hello" is added it simply pushes the 1 to the next index and repeats the same code.

Answer:

[tex]var nums = [1,1, 2, 3, 5, 8, 13, 21];

var copyNums = [1,1, 2, 3, 5, 8, 13, 21];

for(var i=0; i < copyNums.length; i++){

if(copyNums[i] == 1){

insertItem(copyNums,i,"hello");

}

}[/tex]

A network interface card was installed on Shawn's computer. The function of a network interface card is to _____.


enable his computer to be connected to a network

keep his documents secure

store files that can be shared

speed up his computer

Answers

Answer:

The correct answer is Option 1: enable his computer to be connected to a network

Explanation:

Network interface card, as it is clear from the name, is added to the computer system to enable the computer to connect to the internet. If a computer doesn't have network interface card, it cannot connect to the internet.

Hence,

The correct answer is Option 1: enable his computer to be connected to a network

Answer:

enable his computer to be connected to a network

Difference between analog and digital computer ??

Answers

Answer:

The analogue computer works on a continuous signal. The digital computer works on a discrete signal. The output is a voltage signal, they are not exact values and are in graphical form.

Write a class called TextProcessor that implements the methods listed below. Your implementation may use the charAt() and length() methods from the String class You must not use any other String methods, and you must not use any of the methods in the Character class. You may not use any integer literal values except for 0 and 1.

Answers

Ieisiwizudhrhejwjjsjrjrjje

write down the name of output devices

Answers

Answer:

Monitor

Printer

Headphones

Computer Speakers

Projector

GPS

Sound Card

Video card

Explanation:

monitor

printer

headphones

computer speakers

projector

GPS

sound card

video card

hope it helps you

plese follow me

ve phenotypk percentages of the offspring​

Answers

It’s true have a nice day

Which of the following groups might sign a non-disclosure agreement between them?

the local government and its citizens

a group of employees or contractors

a company and an employee or contractor

two competing businesses or companiesc​

Answers

Answer: I believe the right answer is between a company and employee or contractor.

Explanation: I think this is the answer because a non-disclosure is a legal contract between a person and a company stating that all sensitive. information will be kept confidential.

Answer:a

Explanation:

Write a program that reads an integer between o and 1000 and adds all the digits in the integer. For example, if an integer is 932, the sum of all the digits is 14. Hint: Use the % operator to extract digits, and use the / operator to remove the extracted digit. For instance, 932 % 10=2 and 932/10 =93. Here is a sample run:
Enter a number between 0 and 1000 : 999
The sum of digits is 27.

Answers

Answer:

Answered below

Explanation:

#Program is written in Python programming language

digit = 0

sum = 0

num = int(input("Enter a number between 0 and 1000: ")

#Check that number is within the valid range

if num > 0 and num <= 1000:

while num != 0:

#Isolate each digit

digit = num % 10

sum = sum + digit

#Remove isolated digit from number

num = num/10

else:

print("Number is not within valid range")

#print total sum of digits

print(sum)

Write a method named numUnique that accepts a sorted array of integers as a parameter and that returns the number of unique values in the array. The array is guaranteed to be in sorted order, which means that duplicates will be grouped together. For example, if a variable called list stores the following values: int[] list

Answers

Answer:

The method in Java is as follows:

public static int numUnique(int list[]) {  

int unique = 1;  

for (int i = 1; i < list.length; i++) {  

 int j = 0;  

 for (j = 0; j < i; j++) {

  if (list[i] == list[j])  

   break;  

 }

 if (i == j)  

  unique++;  

}  

return unique;  

}  

Explanation:

This line defines the numUnique method

public static int numUnique(int list[]) {

This initializes the number of unique elements to 1

int unique = 1;  

This iterates through the list

for (int i = 1; i < list.length; i++) {

The following iteration checks for unique items

 int j = 0;  

 for (j = 0; j < i; j++) {

  if (list[i] == list[j]) If current element is unique, break the iteration

   break;  

 }

 if (i == j)  

  unique++;  

}

This returns the number of unique items in the list

return unique;  

}  

Cathy connected a keyboard, mouse, and printer to her Computer through a Bluetooth connection. What type of network has she created?

Answers

Answer:

Cathy has created a Personal Area Network

Explanation:

Let us define a personal area network.

A personal area network is created by connecting multiple devices of a user and it is panned over a very short distance. Mainly used technology is Bluetooth.

Cathy has used Bluetooth to connect keyboard, mouse and printer to her computer, she has formed a Personal Area Network.

Answer: pan

Explanation: got it right edmentum

If you wanted to help your phone , a nonliving thing , perform the process of life which is to gain energy which would be the best description of what to do ?

Help

Answers

Answer:

d. plug it into the charger.

Explanation:

Write a program whose input is a string which contains a character and a phrase, and whose output indicates the number of times the character appears in the phrase.

Ex: If the input is:
n Monday

the output is:
1

Ex: If the input is:
z Today is Monday

the output is:
0

Ex: If the input is:
n It's a sunny day

the output is:
2

Case matters.

Ex: If the input is:
n Nobody

the output is:
0

n is different than N.

Learning Python

Answers

Explanation:

1

Ex: If the input is:

z Today is Monday

the output is:

0

Ex: If the input is:

n It's a sunny day

the output is:

2

Case matters.

Ex: If the input is:

n Nobody

the output is:

0

n is different than N.

Learning Python

I've included my code in the picture below. Best of luck.

When defining a class, it is a best practice to declare ____ as private. constructors mutators nothing should be private accessors variables

Answers

Answer:

The answer is "variables".

Explanation:

It is necessary to declare a variable privately when declaring a class because the private variable 'protects' the code while it is in operation. It may not aim to protect it at this stage from changing the codes themselves for other developers. Its purpose of the so-called "data hiding" is to hold the internal data from many other classes using the class protected.

Type a statement using srand() to seed random number generation using variable seedVal. Then type two statements using rand() to print two random integers between (and including) 0 and 9. End with a newline. Ex:
5.
7.
Note: For this activity, using one statement may yield different output (due to the compiler calling rand() in a different order). Use two statements for this activity. Also, after calling srand() once, do not call srand() again. (Notes)
1 #include
2 #include //
3 Enables use of rand ()
4 int main(void) ( int seedval;
6.
7. scanf ("%d", &seedval);
8.
9.
10 srand(int seedval);
11 printf("%d\n", srand());
12 printf("%d\n", srand());
13
14 return e;
15 }

Answers

Answer:

#include<stdio.h>

#include<stdlib.h>

int main(void){

int seedval;

scanf ("%d", &seedval);

srand(seedval);

printf("%d\n", rand()%10);

printf("%d\n", rand()%10);

 return 0;

}

Explanation:

The given code is poorly formatted. So, I picked what is usable from the code to write the following lines of code:

#include<stdio.h>

#include<stdlib.h>

int main(void){

This line declares seedval as integer

int seedval;

This line gets user input for seedval

scanf ("%d", &seedval);

This line calls the srand function to generate random numbers

srand(seedval);

This prints a random number between 0 and 9

printf("%d\n", rand()%10);

This also prints a random number between 0 and 9

printf("%d\n", rand()%10);

 return 0;

}

The tool chest for programmers is also known as the CPU.
True or False?

Answers

Explanation:

I would say yes, but I'm not sure

Yeah I’m pretty sure it’s true

Write a program that calculates the shipping charges for parcel. The program should ask the user to enter two floating point values:
The weight of a parcel in pounds
The shipping rate per pound
The program calculates and displays the total shipping charges based on the parcel’s weight and shipping rate per pound.
Your program should print dollars and cents with two decimal places such as 32.85, and not 32.8467777.
Hint: Until we learn how to format output, we will use this little trick. You can round a floating-point value to the nearest hundredth by adding 0.005, multiplying by 100, converting the result to an integer, and then dividing by 100. This trick is not perfect but works well with most values.
Here is a sample of what a typical run of this program looks like where the user entered the values 4.75 for the weight and 2.55 for the shipping rate per pound:
Shipping Charges Calculator
Enter the weight of your parcel in pounds: 4.75
Enter the shipping price per pound: 2.55
The weight of your parcel is 4.75 pounds
The shipping price per pound is $ 2.55
The shipping charges for your parcel is $ 12.11
NOTE: Please remember that your program will be graded in terms of:
correctness: it performs the calculations correctly and uses proper arithmetic expressions: 75% (graded by Zybooks)
code style: good variable names, comments, proper indentation and spacing: 25% (grade by the TAs)
This program code is Python

Answers

Answer:

Answered below

Explanation:

#Program is written in Python programming language

#Get the weight and price and store them in #variables.

parcel_weight = float(input('Enter weight of parcel in pounds: "))

rate_per_pound = float(input ('Enter shipping price per pound: "))

# Calculate the total price per pound

total_price = parcel_weight * rate_per_pound

#print invoice

print ("Your parcel weighs $parcel_weight pounds')

print ("The rate per pound is $rate_per_pound")

print("Total shipping cost is; ")

print ("%.2f" % total_price)

III. FILL-IN THE BLANK (five points each)
11. Open divided scales have scales going in
directions.
12. There are
groups of scales.
13. The open divided scales have an
unit preceding zero.
14. The triangular scale can have up to
different scales on one piece of plastic.
15. The mechanical inch is divided into
equal parts.

Answers

Jsjejshxjskksnxbfbsjchjsjens

Select the correct answer. Why is it important to identify your audience while making a presentation? A. It helps you define the time limit and number of slides required in the presentation. B. It helps you adapt the presentation to the appropriate level and complexity. C. It helps you establish whether you require a conclusion in your presentation. D. It helps you decide how much practice you need for the presentation.

Answers

Answer:B

Explanation:

Just saw brown vent open on the front door in the right direction lol I have o clue where
Other Questions
fireshotty can we talk for a bit please HURRRYY PLSSS What text structure type was used in "MalalaThe Powerful? i need help pleasefr tho i need help A rectangle with a perimeter of 9 units is graphed on a coordinate grid. The square is dilated by a scale factor of 0.2 with the origin as the center of dilation. If (x,y) represents the location of any point on the original triangle, which ordered pair represents the coordinates of the corresponding point on the resulting triangle?A. (x + 0.2, y + 0.2)B. (.2x, .2y)C. (9x, 9y)D. (x + 9, y +9) Will mark BRAINLIST only if correct answer Please need help ASAP only if u know the correct answer Please help asap!!Find the missing side lengths I need help in this question the typhoons that pass through the philippines travel A 30 -foot ladder is leaning against a building. The base of the ladder is 18 feet from the side of the building. How high does the ladder reach along the side of the building? the blank often commissioned works of art, claiming to be in the name of religion Suppose the war had ended and left the Iroquois and the French in possession of vast territories just west of the Appalachianswould America's future have been different? What was The Montgomery Bus Boycott all about? lungs are blood purifier why 1. WHAT DO INTEREST GROUPS PROVIDE ? 2. HOW DO POLITICAL PARTIES AFFECT LAWMAKERS? 3. WHAT US LOGROLLING ? 17. What tool is helpful in identifying patterns in polling data?A line graphA list of dataA mapA chart Simplify the expression:4x2 + 9x + 14 + 4x2 - 2xASAP PLEASEEEEEEE PART B: Which phrase from an earlier paragraph helps thereader understand the meaning of the word ethical?A capacity to end the war, but it would involve unleashingthe most terrible weapon ever known." ( Paragraph 2)B "weary from four years of war... military was refusing togive up their fight. ( Paragraph 3)C no mention of any new weapons of mass destructionwas made." ( Paragraph 5)D "only nation in the world to have used a nuclear weaponon another nation." ( Paragraph 10) Write a slope-intercept equation of the line with a slope of that passes through the point (6, 10).O A. y = 6x + 10O B. y=-x +38 3O C. y=-x +14O d.y= -x + 6 What is -20 + 1/2 in a decimal form Which graph shows a line with a slope of 0?