WILL GIVE BRAINLIEST, JAVA PROGRAMMING PLS HELP
Here is the prompt:
The code provided is intended to use a while loop to print the first 9 multiples of an integer entered by the user. For example if the user enters 5, the program should print the numbers 5, 10, 15.,... up to 45, one per line. Debug the code so it functions as described.
Here is the code:
Scanner scan = new Scanner(System.in);
int num = scan.nextInt();
int fac = 1;
while(fac < 9){
System.out.println(num*fac);
fac++;
System.out.println(num*fac);
}

}
}

Answers

Answer 1

Answer:

import java.util.Scanner;

public class Main {

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       int num = scan.nextInt();

       int fac = 1;

       while(fac <= 9){

           System.out.println(num*fac);

           fac++;

       }  

   }

}

Explanation:

Hello, I tried out your program, and I just wanted to point out some little issues :)

You need to import the java.util.Scanner in order to use Scanners :)

Also, (not sure if you just didn't copy the stuff at the start) but you need the public class and the public static void main.

Last of all, since you're printing out all of the first 9 multiples, the 9th is included, so you use <= instead of <.

I have sent you the right code above ^^ :)

Please mark brainliest if this has helped you.

Answer 2

Debugging a code involves locating and fixing the errors/bugs in the code.

The error in the code is that, the following print statement is repeated twice

System.out.println(num*fac);

The correction is to remove the first appearance of

System.out.println(num*fac);

So, the corrected code is as follows

Scanner scan = new Scanner(System.in);

int num = scan.nextInt();

int fac = 1;

while(fac < 9){

System.out.println(num*fac);

fac++;

}

Read more about debugging at:

https://brainly.com/question/23527739


Related Questions

Why do we use comment in a code segment?
*

Answers

Answer: When you comment in a code segment, it can help make the code maintenance much much easier while also helping out with finding any bugs that were misplaced in your code. Also, commenting is important if someone else plans on using what function your code does. Also, it is a big time saver by showing how your code works.

Explanation:

Which two statements are true about algorithms?
O Algorithms can be written using pseudocode.
There can only be one algorithm to solve a problem.
Computers can understand algorithms.
Algorithms can be visualized using flowcharts.
Algorithms are specific to a specific programming language.

Answers

Answer:

I. Algorithms can be written using pseudocode.

II. Algorithms can be visualized using flowcharts.

Explanation:

An algorithm can be defined as a standard formula or procedures which comprises of set of finite steps or instructions for solving a problem on a computer. The time complexity is a measure of the amount of time required by an algorithm to run till its completion of the task with respect to the length of the input.

The two statements which are true about algorithms are;

I. Algorithms can be written using pseudocode. A pseudocode refers to the description of the steps contained in an algorithm using a plain or natural language.

II. Algorithms can be visualized using flowcharts. A flowchart can be defined as a graphical representation of an algorithm for a process or workflow.

Basically, a flowchart make use of standard symbols such as arrows, rectangle, diamond and an oval to graphically represent the steps associated with a system, process or workflow sequentially i.e from the beginning (start) to the end (finish).

Algorithms can be written using pseudocode and algorithms can be visualized using flowcharts. Therefore, the correct answer is options A and D.

Natural language, flowcharts, pseudocode, and, of course, actual programming languages are just a few of the ways we might express algorithms.

Natural language is a popular option since it comes to us naturally and can explain an algorithm's steps to a large audience. When we are creating algorithms, we frequently collaborate with both programmers and non-programmers but they are all familiar with natural language.

Therefore, the correct answer is options A and D.

Learn more about the algorithms here:

https://brainly.com/question/33268466.

#SPJ6

To control how and when the slides should appear during the slide show, we use the__________________ feature​

Answers

Answer:

Slide transition

Explanation:

See open chapter 4 page 49 and you will get it

Need help being allowed into this MC YT Server need to know this:

When was Techno's channel made:


A: April 4, 2016

B: October 28, 2013

C: January 7 2017

D: March 25, 2013

Answers

Answer: B

Explanation: <3

What is something that might be put in a bulleted list?

Answers

Answer:

Sometimes things you must get done in a day, or things to include in a presentation. When making a bulleted list it's to remember to  get certain things done within a specific time frame.

Explanation:

Hope this helps, have a nice day!

Do you think it's better for a young designer to use free, open-source art programs or to pay for commercial programs? Explain your answer, but come up with at least one counterargument that forces you to defend your position when you explain why you think one option is better than the other.

Answers

Answer:

The young designer should use free open-source art programs for his designs. The designer can create new tools and get and update a verse collection of design tools in the software.

Explanation:

An open-source program is a software or application whose source code is available for changes, upgrade and sharing within the public.

Rather than in closed-source software where all upgrades and changes are made only by the tech-company with the license, and the expensive nature of the purchase, the open-source code programs are mostly free with a general public license.  

You are a systems administrator for WestSim Corporation. As part of a new security initiative, the IT department has developed a custom application that reports the host name of all clients that try to access three sensitive servers in the Accounting department. The application has been working fine for the last three months. The company expands and adds a new building with a LAN connection to the rest of the network. This building has its own subnet, 192.168.5.0. You create a scope on an existing DHCP server for this subnet. During a random check of the reporting software, you discover that the application reports the IP address, but not the hostname for clients on the new subnet. Everything works as designed for hosts on other subnets. You check the DNS database and find that none of the hosts on that subnet have an associated PTR record. What should you do

Answers

Answer: Create a primary reverse lookup zone for subnet 192.168.5.0

Explanation:

Based on the information given in the question, the best thing to do is to create a primary reverse lookup zone for subnet 192.168.5.0.

When this is done, the reason for the application reporting of the IP address, but not the hostname for clients on the new subnet can then be known.

a network that is characterized by most nodes having approximately the same number of links, with no nodes with many connections, is called: group of answer choices an equilibrium network a scale-free network a decentralized network a high-degree network

Answers

The type of network that is characterized by most nodes having approximately the same number of links, with no nodes with many connections is called "a decentralized network".

A decentralized network is one where there are no central points of control or single points of failure. It is a type of network that is highly resilient to attacks and failures. In a decentralized network, nodes are spread out and interconnected, making it difficult to bring the entire network down. A decentralized network is characterized by most nodes having approximately the same number of links, with no nodes with many connections. This means that the network is highly distributed, with no one node holding a disproportionate amount of power or influence. The network is made up of many smaller clusters of nodes that are interconnected, rather than a few large clusters of highly connected nodes. This makes the network more resilient to failures, as the failure of one node or cluster does not bring down the entire network. In conclusion, a network that is characterized by most nodes having approximately the same number of links, with no nodes with many connections is called a decentralized network. It is a highly distributed network that is more resilient to failures and attacks than other types of networks.

To learn more about decentralized network, visit:

https://brainly.com/question/12959974

#SPJ11

what is the main purpose of pseudocode?


A. to debug a program

B. to help the programmer create error-free code

C. to test a program

D. to plan a program

Answers

Answer:

i think correct ans is a) to debug a program

Which one of the following common error in Excel 2013 occurs when the formula uses a value that is not available? *​

Answers

Answer:

When your cell contains this error code (#####), the column isn't wide enough to display the value.

if an algorithm takes n^2 operations, and the computer can perform 100 billion operations per second, what is a reasonable estimate of how long it will take to sort 2 billion elements (assuming there is ample memory, the computer doesn't crash, etc.)?

Answers

An estimate of how long it will take to sort 2 billion elements using this algorithm is 0.04 seconds. However, it is important to note that this is an estimate and actual performance may vary depending on other factors such as memory usage and system conditions.

An algorithm is a set of instructions that tells a computer how to perform a specific task. If an algorithm takes n^2 operations, it means that the number of operations it takes increases with the square of the size of the input. For example, if the input size is 2 billion, the algorithm will take (2 billion)^2 operations. If the computer can perform 100 billion operations per second, it will take (2 billion)^2 / (100 billion) seconds to sort 2 billion elements using this algorithm.

If an algorithm takes n² operations and the computer can perform 100 billion operations per second, it will take (2 billion)² / (100 billion) seconds to sort 2 billion elements.

To simplify the calculation, we can square 2 billion which is 4 trillion, then divide it by 100 billion, which gives:

4 trillion / 100 billion = 0.04 seconds.

Learn more about algorithm: https://brainly.com/question/22984934

#SPJ4

Which range of cells represents the Lookup Table for finding which award each student received? Which lookup function would you use to fill C2:C7? What is your lookup value for student C?.

Answers

To find award of each student recieved we use VLOOKUP function.

What is VLOOKUP Function ?

VLOOKUP stated as 'Vertical Lookup' is a simplest functional form that makes excel to search a certain value in the column ie. Table Array in order to return values from different columns in that same row.

We use VLOOKUP when we need to find values in table or a range by given row.

Learn more about VLOOKUP here :https://brainly.com/question/14042837

Answer: First one is A (E7:F12)

              Second one is Vlookup

              Third one is 6

Explanation:

Just did the class in Alt Ed, sorry im late

What is media in what ways does the media play an important role in a democracy?.

Answers

In a democracy, the media is crucial. It delivers news and examines national and international issues.

We understand how the government functions as a result of this information. The government's controversial policies and programs are criticized by the media as well. The following are some key ways that media contribute to democracy: They educate the public on specific issues and problems. They spread information about the government's policies and initiatives. They also criticize the government's controversial programs and policies. First, it makes sure that people don't behave based on ignorance or false information but rather make wise, educated decisions. By ensuring that elected officials follow their oaths of office, information performs a "checking role" in the second place.

Learn more about program here-

https://brainly.com/question/14618533

#SPJ4

Digital photography occurred in what age?

Answers

Answer:

The history of digital photography as we know it began in the 1950s. In 1951, the first digital signals were saved to magnetic tape via the first video tape recorder. Six years later, in 1957, the first digital image was produced through a computer by Russell Kirsch.

pls help
Question 2 (1 point)
True or false: when you use someone's copyrighted work in something you are
selling, you only have to cite them.

Answers

The given statement of copyrighted work is false.

What do you mean by copyright?

A copyright is a type of intellectual property that grants the owner the exclusive right to copy, distribute, adapt, display, and perform a creative work for a specific period of time. The creative work could be literary, artistic, educational, or musical in nature. The purpose of copyright is to protect the original expression of an idea in the form of a creative work, not the idea itself. A copyright is subject to public interest limitations, such as the fair use doctrine in the United States.

When you use someone's copyrighted work in something you are selling, you must get their permission first.

To learn more about copyright

https://brainly.com/question/357686

#SPJ13

Write a program in java to input N numbers from the user in a Single Dimensional Array .Now, display only those numbers that are palindrome

Answers

Using the knowledge of computational language in JAVA it is possible to write a code that  input N numbers from the user in a Single Dimensional Array .

Writting the code:

class GFG {

   // Function to reverse a number n

   static int reverse(int n)

   {

       int d = 0, s = 0;

       while (n > 0) {

           d = n % 10;

           s = s * 10 + d;

           n = n / 10;

       }

       return s;

   }

   // Function to check if a number n is

   // palindrome

   static boolean isPalin(int n)

   {

       // If n is equal to the reverse of n

       // it is a palindrome

       return n == reverse(n);

   }

   // Function to calculate sum of all array

   // elements which are palindrome

   static int sumOfArray(int[] arr, int n)

   {

       int s = 0;

       for (int i = 0; i < n; i++) {

           if ((arr[i] > 10) && isPalin(arr[i])) {

               // summation of all palindrome numbers

               // present in array

               s += arr[i];

           }

       }

       return s;

   }

   // Driver Code

   public static void main(String[] args)

   {

       int n = 6;

       int[] arr = { 12, 313, 11, 44, 9, 1 };

       System.out.println(sumOfArray(arr, n));

   }

}

See more about JAVA at brainly.com/question/12975450

#SPJ1

Write a program in java to input N numbers from the user in a Single Dimensional Array .Now, display

Find solutions for your homework
engineering
computer science
computer science questions and answers
this is python and please follow the code i gave to you. please do not change any code just fill the code up. start at ### start your code ### and end by ### end your code ### introduction: get codes from the tree obtain the huffman codes for each character in the leaf nodes of the merged tree. the returned codes are stored in a dict object codes, whose key
Question: This Is Python And Please Follow The Code I Gave To You. Please Do Not Change Any Code Just Fill The Code Up. Start At ### START YOUR CODE ### And End By ### END YOUR CODE ### Introduction: Get Codes From The Tree Obtain The Huffman Codes For Each Character In The Leaf Nodes Of The Merged Tree. The Returned Codes Are Stored In A Dict Object Codes, Whose Key
This is python and please follow the code I gave to you. Please do not change any code just fill the code up. Start at ### START YOUR CODE ### and end by ### END YOUR CODE ###
Introduction: Get codes from the tree
Obtain the Huffman codes for each character in the leaf nodes of the merged tree. The returned codes are stored in a dict object codes, whose key (str) and value (str) are the character and code, respectively.
make_codes_helper() is a recursive function that takes a tree node, codes, and current_code as inputs. current_code is a str object that records the code for the current node (which can be an internal node). The function needs be called on the left child and right child nodes recursively. For the left child call, current_code needs increment by appending a "0", because this is what the left branch means; and append an "1" for the right child call.
CODE:
import heapq
from collections import Counter
def make_codes(tree):
codes = {}
### START YOUR CODE ###
root = None # Get the root node
current_code = None # Initialize the current code
make_codes_helper(None, None, None) # initial call on the root node
### END YOUR CODE ###
return codes
def make_codes_helper(node, codes, current_code):
if(node == None):
### START YOUR CODE ###
pass # What should you return if the node is empty?
### END YOUR CODE ###
if(node.char != None):
### START YOUR CODE ###
pass # For leaf node, copy the current code to the correct position in codes
### END YOUR CODE ###
### START YOUR CODE ###
pass # Make a recursive call to the left child node, with the updated current code
pass # Make a recursive call to the right child node, with the updated current code
### END YOUR CODE ###
def print_codes(codes):
codes_sorted = sorted([(k, v) for k, v in codes.items()], key = lambda x: len(x[1]))
for k, v in codes_sorted:
print(f'"{k}" -> {v}')
Test code:
# Do not change the test code here
sample_text = 'No, it is a word. What matters is the connection the word implies.'
freq = create_frequency_dict(sample_text)
tree = create_tree(freq)
merge_nodes(tree)
codes = make_codes(tree)
print('Example 1:')
print_codes(codes)
print()
freq2 = {'a': 45, 'b': 13, 'c': 12, 'd': 16, 'e': 9, 'f': 5}
tree2 = create_tree(freq2)
merge_nodes(tree2)
code2 = make_codes(tree2)
print('Example 2:')
print_codes(code2)
Expected output
Example 1:
"i" -> 001
"t" -> 010
" " -> 111
"h" -> 0000
"n" -> 0001
"s" -> 0111
"e" -> 1011
"o" -> 1100
"l" -> 01100
"m" -> 01101
"w" -> 10000
"c" -> 10001
"d" -> 10010
"." -> 10100
"r" -> 11010
"a" -> 11011
"N" -> 100110
"," -> 100111
"W" -> 101010
"p" -> 101011
Example 2:
"a" -> 0
"c" -> 100
"b" -> 101
"d" -> 111
"f" -> 1100
"e" -> 1101

Answers

Get codes from the treeObtain the Huffman codes for each character in the leaf nodes of the merged tree.

The returned codes are stored in a dict object codes, whose key (str) and value (str) are the character and code, respectively. make_codes_helper() is a recursive function that takes a tree node, codes, and current_code as inputs. current_code is a str object that records the code for the current node (which can be an internal node). The function needs be called on the left child and right child nodes recursively. For the left child call, current_code needs increment by appending a "0", because this is what the left branch means; and append an "1" for the right child call.CODE:import heapq
from collections import Counter
def make_codes(tree):
   codes = {}
   ### START YOUR CODE ###
   root = tree[0] # Get the root node
   current_code = '' # Initialize the current code
   make_codes_helper(root, codes, current_code) # initial call on the root node
   ### END YOUR CODE ###
   return codes
def make_codes_helper(node, codes, current_code):
   if(node == None):
       ### START YOUR CODE ###
       return None # What should you return if the node is empty?
       ### END YOUR CODE ###
   if(node.char != None):
       ### START YOUR CODE ###
       codes[node.char] = current_code # For leaf node, copy the current code to the correct position in codes
       ### END YOUR CODE ###
   ### START YOUR CODE ###
   make_codes_helper(node.left, codes, current_code+'0') # Make a recursive call to the left child node, with the updated current code
   make_codes_helper(node.right, codes, current_code+'1') # Make a recursive call to the right child node, with the updated current code
   ### END YOUR CODE ###
def print_codes(codes):
   codes_sorted = sorted([(k, v) for k, v in codes.items()], key = lambda x: len(x[1]))
   for k, v in codes_sorted:
       print(f'"{k}" -> {v}')
       
Test code:
# Do not change the test code here
sample_text = 'No, it is a word. What matters is the connection the word implies.'
freq = create_frequency_dict(sample_text)
tree = create_tree(freq)
merge_nodes(tree)
codes = make_codes(tree)
print('Example 1:')
print_codes(codes)
print()
freq2 = {'a': 45, 'b': 13, 'c': 12, 'd': 16, 'e': 9, 'f': 5}
tree2 = create_tree(freq2)
merge_nodes(tree2)
code2 = make_codes(tree2)
print('Example 2:')
print_codes(code2)

To know more about Huffman codes visit:

https://brainly.com/question/31323524

#SPJ11

i’ll mark as brainliest ❗️

list the steps to calculate the arithmetic mean of a list of numbers

BONUS: 10 points for a correctly drawn flowchart that shows how to calculate the mean of a list of values

Answers

1. Find the common difference d .

2.Substitute the common difference and the first term into an=a1+d(n−1) a n = a 1 + d ( n − 1 ).
3) Substitute the last term for an and solve for n.
Hope this helps! ^^

Which of the following devices is NOT required to successfully implement teleconferencing?
Sensor
Modem
Speaker
Microphone

Answers

Answer: a. Sensor

Explanation: Modem= internet

Speaker= able to hear

microphone = to speak

The amount of time that passes between when a device is asked to perform and when it completes the task is known as

Answers

The amount of time that passes between when a device is asked to perform and when it completes the task is known as. latency.

What is latency?

In terms of Network, the term latency is known to be called lag. It is known to be the method or an act that is often used to describe the kinds of delays in any form of communication over a network.

The term connote the vase number of time it takes for a packet of data to be gotten, moved, processed via multiple devices and also when it is received at its destination and when it is decoded.

Learn more about latency from

https://brainly.com/question/4123860

How t f did i get this wrong

How t f did i get this wrong

Answers

Answer: #3 is 3/4, just subtraction I believe, and for #4, triangles aren't my strong pint, but I think 2.625. Again, you may need to double check

Write an LC-3 assembly language program that divides a positive number X by another positive number Y. The program stores the integer part of the result in R3, i.e., R3 = int (X/Y), and the reminder in R4, i.e., R4=X%Y. Your code should use an iterative construct. The value of X should be stored in 0x3100 and the value of Y should be stored in 0x3101. Also, let X = 0x005A and Y = 0x0007 when running the simulation to validate the program's function. Your program should start at 0x3000.

Answers

The LC-3 assembly language program for dividing a positive number X by another positive number Y and storing the integer part of the result in R3 and the remainder in R4 is given below:ORIG x3000LD R1, DIV ;Load DIV function's address in R1LD R0, X ;Load X's value in R0LD R2, Y ;Load Y's value in R2 ;

Reset R3 and R4 with zerosLEA R3, ZEROLEA R4, ZEROLOOP ADD R4, R4, R2 ;Add Y to R4ADD R3, R3, #1 ;Increment R3BRp LOOP ;Continue until R4 is positiveBRzp DONE ;Skip if R4 is zeroNOT R4, R4 ;R4 = -R4ADD R3, R3, #-1 ;Decrement R3BRnzp LOOP ;Continue until R4 is zeroDONE ST R3, INT_RESULT ;Store the integer part of the result in R3ST R4, REM_RESULT ;Store the remainder in R4HALT ;Stop the programDIV ADD R5, R5, #-1 ;Decrement quotient counterBRn DONE ;Finish if counter is zeroADD R4, R4, R2 ;Add divisor to remainderADD R5, R5, R5 ;Shift quotient left by 1BRp DIV ;Continue if remainder is positive;When done, quotient is in R5, remainder is in R4;Address of variablesLD R1, X ;Load X's address in R1LD R2, Y ;Load Y's address in R2 ;Zero-value registerLEA R0, ZERO ;Load ZERO in R0LD R3, ZERO ;Load ZERO in R3LD R4, ZERO ;Load ZERO in R4 ;Address of resultsLEA R3, INT_RESULT ;Load the address of R3 in R3LEA R4, REM_RESULT ;Load the address of R4 in R4 ;Initial values for X and YLD R0, 0 ;X = 0LD R1, x005A ;X = 0x005ALD R2, x0007 ;Y = 0x0007 ;Address of programORIG x3000 ;Start the program here;Address of the resultsINT_RESULT .FILL x0000 ;The integer part of the resultREM_RESULT .FILL x0000 ;The remainder of the result;Address of helper dataZERO .FILL x0000 ;

To know more about language visit:

https://brainly.com/question/30914930

#SPJ11

what is it called when all users connect to a clone of a master image machine

Answers

When all users connect to a clone of a master image machine, it is called "Virtual Desktop Infrastructure" (VDI).

In this setup, a master image or template is created, which contains the operating system, applications, and configurations. Clones or virtual machines are then created from this master image, allowing multiple users to connect to their individual instances. The master image acts as a template, and the clones are known as virtual desktops.

Desktop virtualization offers several benefits, including centralized management, improved security, easier software deployment and updates, and the ability to access virtual desktops from various devices. It can be implemented using different technologies such as VMware Horizon, Citrix Virtual Apps and Desktops, or Microsoft Remote Desktop Services.

Know more about "Virtual Desktop Infrastructure" (VDI), here:

https://brainly.com/question/31944026

#SPJ11

The following represents a project that should be scheduled using CPM: IMMEDIATE PREDECESSORS TIMES (DAYS) ACTIVITY a m b A — 1 2 3 B — 1 4 7 C A 2 8 11 D A 1 5 9 E B 1 2 3 F C,D 1 4 7 G D,E 1 2 3 H F,G 2 3 3 b. What is the critical path? B-E-G-H A-D-F-H A-C-F-H A-D-G-H c. What is the expected project completion time? (Round your answer to 3 decimal places.) Project completion time days d. What is the probability of completing this project within 20 days? (Do not round intermediate calculations. Round your answer to 4 decimal places.) Probability

Answers

The critical path for the given project is A-D-G-H. The expected project completion time is 20 days. The probability of completing the project within 20 days depends on the calculation of the project's total float and cannot be determined without additional information.

To determine the critical path, we need to find the longest path in the project network. This is the path that has the total duration and determines the minimum project completion time. By analyzing the network diagram and calculating the earliest start and finish times for each activity, we can identify the critical path. In this case, the critical path is A-D-G-H, as these activities have no float and must be completed sequentially for the minimum project completion time.
The expected project completion time is determined by adding up the durations of the activities on the critical path. In this case, the expected completion time is 20 days.
To calculate the probability of completing the project within 20 days, we would need additional information such as the distribution of activity durations, including the mean and standard deviation. With this information, we could perform probabilistic calculations, such as using the PERT (Program Evaluation and Review Technique) method, to estimate the probability. However, without this information, we cannot determine the probability of completing the project within 20 days.

learn  more about critical path here

https://brainly.com/question/15091786

#SPJ11

can somone give me the code for 2.9.6 colorful bracelets for codehs

Answers

Below is the code for the 2.9.6 Colorful Bracelets challenge on CodeHS:

// Create an array with at least 3 different colors

var colors = ["red", "blue", "green"];

// Create a loop that will go through the colors array

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

 

 // Inside the loop use the print statement to print out the colors

 print(colors[i]);

 

}

What is Loop?
Loop is a programming tool that allows developers to repeat a set of instructions multiple times, or "loop" through them. It is a control flow statement used to execute a set of statements multiple times until a certain condition is met. It can be used to iterate through a list of items, execute a certain number of times, or until a condition is met.

To know more about Loop
https://brainly.com/question/19706610
#SPJ4

Select the correct answer.

Identify the correct CSS syntax to link an external style sheet.







B.






C.






D.


newstyle.css

Answers

Answer:

D

Explanation:

It is D

Select the correct answer.

Identify the correct CSS syntax to link an external style sheet.

Merging refers to dividing a single cell into multiple cells. *TrueFalse

Answers

Answer: False

Explanation: Because merging refers to something coming together as one, not to something such as a cell dividing into multiples.

Develop the IPO chart to calculate the area of a Triangle

Answers

The IPO chart to calculate the area of a Triangle is given below:

The Formula

at=area of triangle

b=Bredth ,h=height.

Formula=0.5×b×h.

Algorithm:

-Step 1:-Start.

Step 2:-Declare at,b,has float.

Step 3:-Initialize value of b and h.

Step 4:-Calculate at 0.5×b×h.

Step 5:-print area of triangle .

Step 6:-End.

Read more about algorithms here:

https://brainly.com/question/13800096

#SPJ1

Similarities and differences between simple electric circuit and home electricity network.

Answers

Electric circuits and home electricity networks are both systems that involve the flow of electrical energy.

A simple electric circuit is a closed loop through which electric current can flow. It typically consists of a power source, such as a battery, and a load, such as a light bulb or motor. The circuit also contains conductive wires or cables that connect the components together.
A home electricity network, on the other hand, is a more complex system that distributes electrical energy to various parts of a house or building. It typically includes a power source, such as a utility grid or generator, and various loads, such as lights, appliances, and electronics. The network also consists of a distribution system, which may include transformers, circuit breakers, and wiring, that connects the power source to the loads.
One key difference between a simple electric circuit and a home electricity network is their level of complexity. While a simple electric circuit consists of just a few components, a home electricity network can involve many different components and subsystems that work together to ensure safe and reliable power distribution.
Another difference is their application. A simple electric circuit is typically used for a specific purpose, such as lighting a single light bulb or powering a small motor. A home electricity network, on the other hand, is designed to power an entire house or building and provide electricity for a wide range of purposes.

Learn more about electrical energy here:

https://brainly.com/question/31481822

#SPJ11

1. Under which Tab, in Word, would you find the function to Print a document Under

Answers

Under File Tab, in Word, would a person find the function to Print a document Under.

Which tab is used to print a document?

The File tab is known to be the tab where a person can be able to access the Print pane.

Note that  for one to do so, you need to Select the File tab and the Backstage view will show and then click Print. Then the Print pane will show.

It can be done by Click File > Print. Under Settings, select the color printing option of your choice.

Hence, Under File Tab, in Word, would a person find the function to Print a document Under.

Learn more about Printing from

https://brainly.com/question/145385

#SPJ1

Other Questions
Which of the following should get a Page Quality (PQ) rating of Low or Lowest? Select all that apply. _____ is the study of the prevention of injury or diseases that result in movement disorders and the rehabilitation of people who are injured or have a movement disorder disease or disability. In, at, on ahshshshshsjj Can you please help? two microscope slides are placed together but held apart at one end by a thin piece of tin foil. under sodium light (589 nm) normally incident on the air film formed between the slides, one observes exactly 40 bright fringes from the edge in contact to the other edge with the thin foil. determine the thickness of the foil. Plz, Help me with this question!Plz, Help me with this question! COMPLETE ANSWER THE ANSWER TO THE QUESTION IS I'M GOING TO VOTE BRAINLIEST Direction: True or False. 1. The function of a manager in which he sets tasks and activities to be accomplished is being a planner. 2. The function of a manager where he leads his subordinates in a certain direction to achieve a goal is the organizer function. 3. Being a disturbance handler means that a manager handles disputes and solve them. 4. A figurehead role means that you have a real power and authority. 5. When a manager tells his subordinates information, he becomes a disseminator. 6. As a negotiator, the manager develops new concepts and ideas just like developing new products. 7. The manager looks for organization and work-related information on the internet and other sources thus he is doing a monitor role. 8. The conceptual skill has something to do on how you do a certain task that is based on one's expertise. 9. The middle-level managers are the go-between with different levels of management so they must have people skills. 10. The technical skill is all about how a manager sees the organization as a whole. Jimez has $27 in his pocket. Which is the least number of bills that he can have, assuming he could possibly have $1, $5, $10, and $20. (A) 3 (B) 4 (C) 5 (D) 8 1) Consider gas inside a piston cylinder assembly undergoing compression. The initial state of the gas is V=1.6 litres, P=100kPa,T=300 K. In the final state the gas volume is reduced by a factor of 10 . Determine the work required and heat loss through the cylinder walls if the compression is a) isothermal b) polytropic with n=1.3(pv 1.3 = const ). Joel's roommate is majoring in psychology. joel assumes that means his roommate wants to be a therapist. joel's roommate explains that psychology is broadly defined as? Solve for k.16 2kMiddle school (6th grade inequality) One side of the triangle is 1 inch less than three times the length of the altitude to that side. Write a polynomial that represents the area of this triangle. I need help... It's kinda confusing for me.. Which of the following scenarios is an example of how the media can act as a linkage institution? What are the 3 types of solutions and examples? 2. On the grid below, what is the distance between points A and B? 1. Which of the following is a reserved power held by state governments?declaring warestablishing an army and navyratifying amendments to the Constitutioncreating treaties with other countries A sugar forms a cyclic-hemiacetal by reaction between an alcohol and an ______________.aldehyde Atticus explains to the children why he considered Mrs. Dubose to be a ""great lady"" and a brave person. How is this symbolically relevant to why he is defending Tom Robinson? I need help.... please help me.