Create an application that prompts the user for a number and then displays the numbers 1 through the number entered, each on a separate line. Below the numbers, the sum is displayed.
Answer:
In Python:
start = num(input("Enter a number: "))
sum = 0
for x in range(1, start+1):
sum += x
print (x)
print ("Final Sum: " + sum)
Answer:
import java.util.Scanner;
public class NumberSum {
public static void main(String[] args) {
// TODO Auto-generated method stub
int num, sum=0,num1=0;
Scanner input=new Scanner(System.in);
System.out.println("Enter a number");
num=input.nextInt();
input.close();
do{
System.out.println(num1);
num1+=1;
sum+=num1;
}while(num1<=num);
System.out.println(sum);
}
}
Do you think should give credit to people who invented viral dances?
Answer:
michal jackson i think who credit to people invented viral dances.
Answer:
Yes
Explanation:
Well, they added some taste to life.
What are web protocols.
Answer:
Web protocols are a set of standards used to exchange information. It ensures that code can be modular and portable.
Answer:
The standard network protocol of the Internet, TCP/IP, stands for Transmission Control Protocol/Internet Protocol. The Internet Protocol part of the standard refers to the addressing of data message packets. Additional protocols that operate within the TCP/IP framework include UDP, HTTP and FTP. Each has different functions and purposes that ultimately work together to provide assorted capabilities through what's currently known as the World Wide Web.
Explanation: i hope this helps
what programming language supports relational databases?
A programming language that supports relational databases is SQL (Structured Query Language)
Structured Query Language (SQL), is the principal method for communicating with Relational Databases.
A relational database is a group of data elements that are linked together by predefined connections. These elements are laid up in the form of a series of tables containing columns and rows.
Tables are utilized for storing data about the items that will be displayed in the database. A column in a database contains a specific type of data, whereas a field records the actual value of an attribute. The table's rows indicate a collection of linked values for a single item or entity.Each entry in a database can be assigned a unique identity known as a primary key, and rows from other tables can be linked together via foreign keys. This data may be accessible in a variety of ways without having to reorganize the database tables itself.
Learn more about Relational Databases here:
https://brainly.com/question/8457395?referrer=searchResults
How to get response from post request angular.
Answer:
I am trying to get full response from a POST request. I have read how to get full response for a get request mentioned at the official site of angular. Angular http
What it says is to add { observe: 'response' }. But it would work for a get request and not for post request. post request accepts 2-3 arguments, so I cannot send this as the 4th argument. Please have a look at my code and let me know what I am doing wrong.
Explanation:
const httpOptions: { headers; observe; } = {
headers: new HttpHeaders({
'Content-Type': 'application/json'
}),
observe: 'response'
};
return this.http.post('http://localhost:3000/api/Users/login', data, httpOptions) ..
Which action must take place inside a procedure to reserve space on the stack for two doubleword local variables
What is the complete path and filename of the file where ports and their associated protocols are defined
The /etc/services is often found in Linux/Unix.
The complete path and filename of the file where ports and their associated protocols are defined by /etc/services.
Linux Services files is known to save a lot of well-known ports. UNIX operating systems is known to save a services file at /etc/services.It does save information about a lot of services that client applications can use on the computer.
Looking into the file, you will find the service name, port number, and protocol it uses, and other applicable aliases.
the work of the configuration file /etc/services is to help programs to be able to do a getportbyname() sockets call in their code so as to know what port they can use.
Learn more about Computer services from
https://brainly.com/question/3837126
What is an IF statement used for?
The IF statement is a decision-making statement that guides a program to make decisions based on specified criteria. The IF statement executes one set of code if a specified condition is met (TRUE) or another set of code evaluates to FALSE.
What type of loop allows you to indicate the starting value for the loop control variable, the test condition that controls loop entry, and the expression that alters the loop control variable, all in one convenient place
Answer:
I think it's a for loop.
A for loop looks like:
for (starting statement; condition that is true; condition applied to iteration)
Explanation:
Which term refers to actions that you would perform on a computer to revive it if it functions in an unexpected manner?
Answer:
I think that it is just rebooting
A ______ error occurs when the program's grammar and punctuation is correct, but something happens to halt the program before it is finished.
1. Runtime
2. Syntax
3. Logical
Answer:
Logical error
Explanation:
Answer:
Runtime
Explanation:
The program stops execution before the end of the instructions has been reached. It is not due to poor grammar/punctuation which would be a syntax error. A logical error would be due to an error in the programmer's logic but would not cause the program to terminate abnormally. This is also not the case.
In any and every instance when the Federal Government provides recovery support, all six Recovery Support Functions will be activated. A. TRUE
Answer:
what?
Explanation:
what are the questions lol
I am malala how one girl stood up for education and changed the world pdf.
Answer:
what?
Explanation:
A business is having trouble keeping up with the competition. They cannot
respond to their customers like the competition. Which type of system will
likely be able to help them solve this issue?
A. Transaction processing system
B. Management communication system
C. Decision support system
D. Management information system
Answer:
Decision support system is the answer
Explanation:
Which development model emphasizes small revisions that enhance the code and expand the functionality until the entire program is built
Answer:
Iterative
Explanation:
is the model that emphasizes small revisions, unlike waterfall which is in a linear sequential flow.
Power Supply
Description :
A device that supplies power to electronic equipment which; is sometimes called A, B, or C according to its purpose of heating vacuum tube cathodes, producing electron current flow in plate circuits, or applying a direct voltage in grid circuits.
Explanation:
Not exexactly sure on what your asking
Assuming a 1-KB page size, what are the page numbers and offsets for the following address references (provided as decimal numbers): a. 3085 b. 42095 c. 215201 d. 650000 e. 2000001
Answer:
(a) page = 3; offset = 13
(b) page = 41; offset = 111
(c) page = 210; offset = 161
(d) page = 634; offset = 784
(e) page = 1953; offset = 129
The page numbers and offsets for the following address are:
page number 3, with an offset of 13.page number 41, with an offset of 47.page number 210, with an offset of 641.page number 634, with an offset of 496.page number 1953, with an offset of 49.To find the page numbers and offsets for the given address references, we need to perform some calculations based on the page size.
Assuming a 1-KB page size (1 KB = 1024 bytes), use the following formulas:
1. Page number = Address reference / Page size
2. Offset = Address reference % Page size
a. 3085:
Page number = 3085 / 1024 = 3
Offset = 3085 % 1024 = 13
Address 3085 is on page number 3, with an offset of 13.
b. 42095:
Page number = 42095 / 1024 = 41
Offset = 42095 % 1024 = 47
Address 42095 is on page number 41, with an offset of 47.
c. 215201:
Page number = 215201 / 1024 = 210
Offset = 215201 % 1024 = 641
Address 215201 is on page number 210, with an offset of 641.
d. 650000:
Page number = 650000 / 1024 = 634
Offset = 650000 % 1024 = 496
Address 650000 is on page number 634, with an offset of 496.
e. 2000001:
Page number = 2000001 / 1024 = 1953
Offset = 2000001 % 1024 = 49
Address 2000001 is on page number 1953, with an offset of 49.
Learn more about offset here:
https://brainly.com/question/32088531
#SPJ3
Four types of firewalls are: Packet filtering, stateful inspection, circuit level proxy and _________ .
Answer:
oxigen
Explanation:
RDP connection from outside the network to a server inside the network. Which network device will a network administrator MOST likely configure to allow this connection? Hub Switch Firewall
Answer:
Firewall
Explanation:
The firewall might block the Remote Desktop Protocol (RDP) connection. This is because hackers could use open connections to brute force passwords or control an infected computer. The firewall ensures that only authorised connections occur.
i will give brainliest to the best answer. what is a good screen recorder
Answer:
If your on windows there is an x-box screen recorder installed on it. thats a new windows 11 update. If not, i used to use x-split broadcaster
Explanation:
If your on windows there is an x-box screen recorder installed on it. thats a new windows 11 update. If not, i used to use x-split broadcaster
mark me Brainliest
How many binary digits are in 10^100.
Answer:
333 binary digits.
Explanation:
Select the correct answer.
Which option would you use to insert two line breaks in your document?
A.<2br>
B.
C.
D.
Answer:
yes, I agree.
Explanation: ,
In older languages, you could leave a selection or loop before it was complete by using a ____ statement
Answer:
D) go to
Explanation:
A) next
B) go next
C) loop
D) go to
D) go to is correct answer
(Hope this helps can I pls have brainlist (crown)☺️)
we are unable to process your request at this time. if you continue to receive this error, please contact cardholder services by calling the number on the back of your card.
Answer:
is this a sim chip card replacement card for Electronics ?
Explanation:
_____ is a privacy issue relating to the responsibility of those who collect data must ensure that the data is correct.
Answer:
Virtual private network
a write the result P*=++j where j is 24
Answer:
ang hrap nmn nyan
Explanation:
poede po
If you want to share information with individuals who are internal to your organization, which type of network would you want to use
it is globe because I want a successful the all people
Set the Append Only property to _____ to allow users to add data to a Long Text field but not to change or remove existing data.
A computer data storage is made of many features. Set the Append Only property to YES to allow users to add data to a Long Text field but not to change or remove existing data.
Append-only is known to be a characteristic or component of computer data storage. It is where new data can be appended to the storage, but where existing data is said to be immutable.A field's data type is very essential property as it shows what kind of data the field can store.
Learn more from
https://brainly.com/question/24795103
When you begin designing a program, you work from a ____, a description of what your program should do.
Answer:
This is usually called a brief (you will also hear this in the design industry, as well as other places)
codehs python 4.7.6 Powers of Two
it says I'm wrong because I need
[tex]\huge\fbox\orange{A} \huge\fbox\red{N}\huge\fbox\blue{S}\huge\fbox\green{W}\huge\fbox\gray{E}\huge\fbox\purple{R}[/tex]
[tex]\huge\underline\mathtt\colorbox{cyan}{in attachment}[/tex]
Following are the program to calculate the power of two:
Program Explanation:
Defining an integer variable "i" that hold an integer value.Defining a for loop that checks "i" value in between 20, inside this it calculates power of two.At the last use print method to print its value.Program:
i=1#holding integer value in i
for i in range(20):#defining a for that starts 1 to 20
i = 2 ** i#calculate power of 2 in i variable
print(i)#print value
Output:
Please find the attached file.
Learn more:
brainly.com/question/23170807