find the summation of even number between (2,n)​

Answers

Answer 1

Answer:

The program in python is as follows:

n = int(input("n: "))

sum = 0

for i in range(2,n+1):

   if i%2 == 0:

       sum+=i

print(sum)

Explanation:

This gets input n

n = int(input("n: "))

This initializes sum to 0

sum = 0

This iterates through n

for i in range(2,n+1):

This checks if current digit is even

   if i%2 == 0:

If yes, take the sum of the digit

       sum+=i

Print the calculated even sum

print(sum)


Related Questions

what are Manuscript signs​

Answers

Answer: See explanation

Explanation:

Manuscript signs, refers to the marks or the symbols that are used within a manuscript in order to show the necessary corrections which should be made during the preparation of a document.

Manuscript formatting is vital as it makes the manuscript easier to assess. In a situation whereby manuscripts are poorly formatted, it can be turned down by agents and publishers.

Robyn needs to ensure that a command she frequently uses is added to the Quick Access toolbar. This command is
not found in the available options under the More button for the Quick Access toolbar. What should Robyn do?
O Access Outlook options in Backstage view.
Access Outlook options from the Home tab.
Access Quick Access commands using the More button.
This cannot be done.

IM TAKING TEST ANSWER PLS

Answers

Answer:

Option A

Explanation:

In case if Robyn is unable to find the frequently used command, then Robyn can use the back stage view to check for the command as the orientation setting allows to access more settings

Hence, option A is correct

What is the most efficient way to control the type of information that is included in the .msg file when a user forwards a
contact to another user?
Use the "As an Outlook Contact option.
Create an additional contact with limited information.
o Use the Business Card option.
Create the contact using the XML format.

Answers

Answer: Use the "As an Outlook Contact option.

Explanation:

The most efficient way to control the type of information which will be included in the .msg file when a contact is forwarded to another user by a user is to use the Use the "As an Outlook Contact option.

After clicking on the contact that you want to forward it to, then click on forward, click on contact and click on As an Outlook Contact. You can then complete the email message, after which you'll click on send.

1. Write a generic method that compares its 2 arguments using the equals method and returns true if they are equal and false otherwise. Ensure that the name of your method includes your last name.

Answers

Answer:

Explanation:

The following piece of code is written in Java. It creates the method as requested that takes in two generic objects and compares them using the .equals() built in Java method. This method will return True if the objects are identical or False if they are not. A test case is used in the code and the output can be seen in the attached image below.

   public static <T> boolean comparePerez(T a, T b) {

       return a.equals(b);

   }

if a+1/a=3 find the valie of a^2+1/a^2​

Answers

Answer:

a² + 1/a² = 7

Explanation:

a + 1/a = 3 ; obtain the value of a² + 1/a²

Taking a + 1/a = 3

Squaring both sides ;

(a + 1/a)² = 3²

(a + 1/a)(a + 1/a) = a² + a/a + a/a + 1/a² = 3²

(a + 1/a)(a + 1/a) = a² + 1 + 1 + 1/a² = 9

a² + 2 + 1/a² = 9

a² + 1/a² = 9 - 2

a² + 1/a² = 7

Hence,

a² + 1/a² = 7

Kylee needs to ensure that if a particular client sends her an email while she is on vacation, the email is forwarded to a
coworker for immediate handling. What should she do?
O Configure a response for external senders,
O Configure a response for internal senders.
O Only send during a specific time range.
O Configure an Automatic Reply Rule.

Answers

Answer: Configure a response for external senders,

Explanation:

Based on the information that we have from the question, Kylee can configure a response for external senders, which will help in ensuring that when the client sends the email, it'll be forwarded to a coworker for immediate handling.

Therefore, based on the options given, the correct option is A

After a worksheet has been completed, the statement columns contain all data that are required for the preparation of financial statements. True False

Answers

Answer:

True

Explanation:

Financial statements can be defined as a document used for the formal communication or disclosure of financial information and statements to present and potential users such as investors and creditors. Thus, a financial statement includes balance sheet, statement of retained earnings and income statement.

A worksheet comprises of a multiple-column form that is used by accountants or auditors for an adjustment process and the preparation of a financial statement. A worksheet contains the following columns; trial balance, adjusted trial balance, adjustments, balance sheet and income statement.

After a worksheet or spreadsheet document has been completed, a financial expert such as an accountant inputs into the statement columns all the data that are required for the preparation of financial statements.

define the followings Super, Miniframe & hybrid Computer
Super computer​

Answers

Answer:

super computers are the largest , fastest and the most expensive computers which have a large memory capacity and very high processing speeds for solving scientific and engineering problems .

Mainframe computers are powerful, largest general purpose computers made to handle a large volume of data .Hybrid computers contain the major features of analog and digital computers which are mostly used for various engineering fields and scientific research .

hope it is helpful to you

Answer:

Explanation:

Super computer : The most powerful ,fastest and also very expensive computers are super computers.It waas developed in the 1980s .It is used to process large amount of data and to solve the complicated scientific notations.Some of the super computers are: cray-1 , cray-2 ,ETA etc

Miniframe computer :The very large and expensive computer that requires a very large clean room with air conditioner capable of supporting hundreds or even thousands of users simultaneously is called miniframe computer.It has a multiple processors .some examples of miniframe computer are :IBM s/390 , control data cyber 176 etc

hybrid computer :The computer that can perform the task of both analog and digital computer is called hybrid computer.It is also called special purpse computer because they are programmed for the specific purpose and can convert one type of data in another.It is used in a wasging machine , rocket launching etc.

Mini computer : mini computers are the medium sized computers which are larger than micro computers and samller than miniframe computers.They have larger storage capacity and higher speed than micro computers.Some of the mini computers are: IBM AS/400 , IBM system 360 HP etc

Hope this helps u!!

Write a C++ program that creates a map containing course numbers and the room numbers of the rooms where the courses meet. The dictionary should have the following key-value pairs:

Course Number (key) Room Number (value)
CS101 3004
CS102 4501

The program should also create a map containing course numbers and the names of the instructors that teach each course. The map should have the following key-value pairs:

Course Number (key) Instructor (value)
CS101 Haynes
CS102 Alvarado

The program should also create a map containing course numbers and the meeting times of each course. The map should have the following key-value pairs:

Course Number (key) Meeting Time (value)
CS101 8:00am
CS102 9:00am

The program should let the user enter a course number, and then it should display the course's room number, instructor, and meeting time.

Answers

Answer:

Program approach:-

Using the necessary header file.Using the standard namespace I/O.Define the integer main function.Mapping course numbers and room numbers.

Explanation:

//header file

#include<iostream>

#include<map>

//using namespace

using namespace std;

//main function

int main(){

               //creating 3 required maps

               map <string,int> rooms;

               map <string,string> instructors;

               map <string,string> times;

               //mapping course numbers and room numbers

               rooms.insert(pair<string,int>("CS101",3004));

               rooms.insert(pair<string,int>("CS102",4501));

               //mapping course numbers and instructor names

               instructors.insert(pair<string,string>("CS101","Haynes"));

               instructors.insert(pair<string,string>("CS102","Alvarado"));

               //mapping course numbers and meeting times

               times.insert(pair<string,string>("CS101","8:00am"));

               times.insert(pair<string,string>("CS102","9:00am"));

               

               char choice='y';

               //looping until user wishes to quit

               while(choice=='y' || choice=='Y'){

                               cout<<"Enter a course number: ";

                               string course;

                               cin>>course;//getting course number

                               //searching in maps for the required course number will return

                               //an iterator

                               map<string, int>::iterator it1=rooms.find(course);

                               map<string, string>::iterator it2=instructors.find(course);

                               map<string, string>::iterator it3=times.find(course);

               

                               if(it1!=rooms.end()){

                                               //found

                                               cout<<"Room: "<<it1->second<<endl;

                               }else{

                                               //not found

                                               cout<<"Not found"<<endl;

                               }

               

                               if(it2!=instructors.end()){

                                               cout<<"Instructor: "<<it2->second<<endl;

                               }

               

                               if(it3!=times.end()){

                                               cout<<"Meeting Time: "<<it3->second<<endl;

                               }

                               //prompting again

                               cout<<"\nDo you want to search again? (y/n): ";

                               cin>>choice;

               }

Which of the following statement is true? Single choice. (2 Points) Views are virtual tables that are compiled at run time All of the Mentioned Views could be looked as an additional layer on the table which enables us to protect intricate or sensitive data based upon our needs Creating views can improve query response time

Answers

Answer:

All of the mentioned views could be looked as an additional layer in the table which enables us to protect intricate or sensitive data based upon our needs.

Explanation:

View is a virtual table which executed a pre compiled query. It is a table in which selective portion of the data can be seen from one or more tables. Queries are not allowed in indexed views and adding column is not possible. Views can be looked as an additional layer in the virtual table which protects sensitive data.

流火之詩II裏的團長叫"紅_"(20pts)(correct=brainliest)

Answers

Explanation:

倾尽天下—河图. 血染江山的画,怎敌你眉间一点朱砂

hope it is helpful to you

(CO 4 and 5) Create a program that will read in a list of test scores from the user and add them to a list. Ask the user in between each score if they want to continue (y/n). Display all of the scores entered and the total score at the end. Using the code below, put the code in the proper order Sample output: Welcome to the Test Score Program Add score: 88.45 Do you want to continue

Answers

Answer and Explanation:

Using Javascript:

function AddScores(){

Window.alert("Welcome to the Test Score Program");

var ScoreList= new Array();

ScoreList.push(Prompt("Add Score"));

var WhatNext= Confirm("do you want to continue?");

If(WhatNext===true) {

do{

ScoreList.push(Prompt("Add Score"));

}

While(

Confirm("do you want to continue?")===true;);

}

Alert(ScoreList);

Alert(ScoreList.reduce(function(a,b){return a +b};,0);)

}

AddScores();

From the above code in javascript programming language, we have created a list ScoreList and added elements to it using push method of the array object and a do...while loop that checks the condition and then adds the user's input to the array. We then alerted the array to the screen and then summed up the array elements and also alerted to the screen.

how we can richer interaction

Answers

A beneficial and pleasing user experience when operating an electronic device. In the future, rich interaction will be voice and speech recognition that actually recognizes anyone's spoken command and robotic devices that automatically assist people.

Physical safeguards, also called logical safeguards, and are applied in the hardware and software of information systems.

a. True
b. False

Answers

Answer:

False

Explanation:

They are not applied in the hardware and software of information systems.

Cho 3 lớp như hình, viếtchương trình thực hiện các chức năng sau:
1.Nhập thông tin nngười(Person)gồm:nhân viên (Employee) và sinh viên(Student)
2.In ra 2 danh sách:Nhân viên, Sinh viên
3.In ra danh sách gồm các Nhân viên, Sinh viên được thưởng.Biết rằng:Nhân viên được thưởng nếu hireDay>25 Sinhviên được thưởng nếu mark>8
viết chương trình c++

Answers

Sorry I don’t know this language

If I drop or withdraw from all my courses after the term begins I must: Select one: a. Do nothing; the UoPeople will issue me an administrative withdrawal but it will count as a term of inactivity. b. Apply for a LOA by contacting my Program Advisor. c. Apply for a LOA in the Student Portal.

Answers

Answer:

If I drop or withdraw from all my courses after the term begins I must:

b. Apply for a LOA by contacting my Program Advisor.

Explanation:

Given the responsibilities of a Program Advisor in the college, it is important that any course withdrawal is obtained through her office.  She helps students to make a choice of a major and a minor, ensuring that all degree graduation requirements are fully met.  A student should be able to discuss her academic interests, goals, course planning, or even performance with the Program Advisor.  Applying for a Letter of Absence (LOA) should be done through her.

Using the celsius_to_kelvin function as a guide, create a new function, changing the name to kelvin_to_celsius, and modifying the function accordingly. Sample output with input: 283.15 10.0 C is 283.15 K 283.15 K is 10.0 C 1 def celsius_to_kelvin value.celsius): value_kelvin 0.0 value_kelvin - value.celsius + 273.15 return value kelvin DIO! 5 7. Your solution goes here 9 value c - 10.0 10 print(value.c, Cis', celsius.to kelvin(value.c), 'K) 12 value floatinput ) 13 print(value, Kis', kelvin_to_celsius(value. ). 'C"> Run

Answers

Answer:

The function is as follows:

def  kelvin_to_celsius(value_kelvin):

   value_celsius = 0.0

   value_celsius = value_kelvin - 273.15

   return value_celsius

Explanation:

This defines the function

def  kelvin_to_celsius(value_kelvin):

This initializes value_celsius to 0

   value_celsius = 0.0

This calculates value_celsius

   value_celsius = value_kelvin - 273.15

This returns the calculated value_celsius

   return value_celsius

Write a program Ticket.py that will allow the user to enter actual speed
limit, the speed limit at which the offender was travelling, and the number
of previous tickets that person has received. The application should
calculate and display how many miles over the speed limit the offender
was travelling, the cost of the speeding ticket, and court cost. Use $10.00
as the amount to be charged for each mile per hour over the speed limit.
The court cost should be $50.00

Answers

Answer:

Following are the code to the given question:

def speedlimit():#defining a method speedlimit

a= int(input("Enter the offender's speed in mph: "))#defining a variable for input value

lim = int(input("Enter the speed limit in mph: "))#defining a variable for input value

n = int(input("The number of previous tickets that person has received: "))#defining a variable for input value

if (lim >= 20) and (lim < 70):#defining if block to check speed is between 20 to 70

if a > lim:#use if to check lim value greater than a

print("Driver was going", a-lim, "mph over the limit.")#print calculated value with message

print("The cost of the speeding ticket $",10*(a-lim))#print calculated value with message

else:

print( "Driver was going at a legal speed.")#print message

else:

print('Invalid speed limit.')#print calculated value with message

print("Court cost $",(50 + n*20))#print calculated value with message

speedlimit()

Output:

Please find the attached file.

Explanation:

In this code, a method "speedlimit" is declared that defines three variables that are "a, lim, and n" in which we input value from the user-end.

Inside the method, a nested conditional statement is used that checks the speed value is between 20 to 70 if it is true it will go to the next condition in which it checks lim value greater than a. It will use a print message that will print the calculated value with the message.

¿Cuántos megabytes (MB) de capacidad tiene una memoria USB de 16 GB? el que me diga por que le doy una coronita

Answers

Answer:

16,384MB

Explanation:

1GB contiene 1024MB de capacidad. Si multiplicamos esto por 16 veemos que 16GB es igual a 16,384MB. Este seria el espacio exacto, aunque se dice que 1GB tiene 1000MB. Eso es por que la palabra Giga significa x1000 y el numero binario entero mas cercano a 1000 es 1024. Entonces los ingenieros usan este numero para representar la cantidad de espacio en un GB que tambien seria [tex]2^{10}[/tex]

Which answer below is NOT a function of a Data Scientist? O Data Exploitation O Data Strategies O Data Modeling O Data Preperation

Answers

Answer:

uh

Explanation:

yesyesyesyesyesyeysyeys

DDR III SDRAM (Double Data Rate III Synchronous Dynamic RAM) có tốc độ bus 800/1066/1333/1600 Mhz, số bit dữ liệu là 64, điện thế là 1.5v. Chuẩn giao tiếp của DDR III SDRAM là?

Answers

Answer:

hii ksdlf

Explanation:

jggkfvhvz Palakkad

what is ms- power point?​

Answers

Answer:

Microsoft PowerPoint is a powerful slide show presentation program. It is a standard component of the company's Microsoft Office suite software, and is bundled together with Word, Excel, and other office productivity tools. The program uses slides to convey information rich in multimedia.

hope it work️

Answer:

Microsoft PowerPoint is a presentation software which is used to make slideshow.

Explanation:

hope you like it

what is the best motivation that you can do/give to make your employees stay? ​

Answers

i'd give fringe benefits to them every month

Explanation:

to encourage them to work on the mission statement and the business goal

What help in executing commands quickly

Answers

Answer:99

Explanation:  Last summer, my family and I took a trip to Jamaica. My favorite part of the trip was when we went to a place called the Luminous Lagoon. We ate dinner and waited for the sun to go down. Then we boarded a boat and went out into the lagoon. That’s when the magic started.

At first we could not see very much in the darkness except for the stars in the sky. After a few minutes, however, I noticed some fish swimming in the water. They didn’t look like ordinary fish. These fish were glowing! Our guide explained that the glow came from tiny creatures in the water called dinoflagellates. These little animals are not visible to us, but their bodies produce light using something called bioluminescence, just like fireflies. There are so many of these creatures in Luminous Lagoon that the water around them seems to glow.

After our guide explained these facts to us, he told us to put our hands in the water. I was not sure if it would work, but I tried it. When I did, my hand looked like it belonged to a superhero! It was glowing bright blue. I hope someday I get to return to the Luminous Lagoon. The lights in the water were much more entertaining than the ones in the sky.

Problem:

audio

The Greek prefix dinos- means “whirling” and the Latin root word flagellum means “whip”. What does dinoflagellate most likely mean as it is used in the passage?

audio

the production of light from an organism’s body

audio

the study of creatures that live in the ocean

audio

to move around underwater water like a fish

audio

an organism with a whip-like part it uses to move around in the water

tools used to type text on Ms paint​

Answers

this is ur answer hope this answer will help u

Write a program that displays the smallest of five input values that may include duplicate values (e.g., 6, 4, 8, 6, 7). Hint: Review the four solutions in the smallest number case study in this chapter. Consider how easy or hard it would be to modify each of those algorithms to find the smallest of five rather than three values. Then modify the algorithm you consider most appropriate for this problem.

Answers

Answer:

Here the code is given as follows,

Explanation:

Code:-

import java.util.*;

class Chegg {

 

   public static void main(String args[])

   {

       Scanner sc=new Scanner(System.in);

       System.out.println("Enter 5 numbers");

       int arr[]=new int[5];

       int min;

       for(int i=0;i<5;i++)

       {

           arr[i]=sc.nextInt();

       

       }

       min=arr[0];

       for(int i=1;i<5;i++)

       {

           if(arr[i]<min)

           {

               min=arr[i];

           }

       }

       System.out.println(min);

   }

}

List and describe at least two (2) very specific advantages of the CIF approach for enterprise-scale data warehousing for this company

Answers

Answer:

di ko po alam pa help po

Explanation:

pllssss

Which of the following is not a factor that determines how many images a memory card can hold?
A)
The storage space on the memory card.
B)
The size of the images.
C)
The way the images are compressed.
D)
The RAM on the computer to which the images will be transferred.

Answers

Answer:

D; The RAM on the computer to which the images will be transferred.

Explanation:

The answer is D) the RAM on the computer to which the images will be transferred

QUESTION 8
A weakness of PHP is that it only supports one database, MySQL.
True
False
QUESTION 9
All variable names in PHP are case-insensitive.
O True
False
QUESTION 10
An HTML form that is part of the PHP script that processes it is known as self-adhesive?
True
False

Answers

Answer:

question 8 is true

Explanation:

PHP is a server-side scripting language for creating dynamic web pages. ... The PHP programming language receives that request, makes a call to the MySQL database, obtains the requested information from the database, and then presents the requested information to your visitors through their web browsers.

Design an if-then statement ( or a flowchart with a single alternative decision structure that assigns 20 to the variable y and assigns 40 to the variable z if the variable x is greater than 100?

Answers

Answer:

The conditional statement and its flowchart can be defined as follows:

Explanation:

Conditional statement:

if x>100 Then //defining if that check x value greater than 100

y=20//holding value in the y variable

z=40//holding value in z variable

End if

Other Questions
Write the standard equation of a circle with center (-1, 4) and radius 5 In a right triangle, Sin (4x + 10) = Cos (6x) . What is the value of x? mr.harrington drive 164 miles. his car used 8 gallons of gas. how many miles per gallon of gas does the car average i rang him___ he would know about the delay a.although b.inspite of c.so that d.in order to A ship moves through the water at 30 miles/hour at an angle of 30 south of east. The water is moving 5 miles/hour at an angle of 20 east of north. Identify the ship's vector, the water current's vector, and the vector representing the ship's actual motion. ) For humanitarian reasons, Taco Loco decides they would rather make product X than product Y. The dollar amount that they can both increase the price of Y and reduce the price of X by to accomplish this reversal of demand is The function f(x)=2.14/55x + 0.31 can be used to determine the cost, in dollars, of a gallon of gas x years since 1960.Part A - According to the function, what was the cost, in cents, of a gallon of gas in 1960?Part B - According to the function, how much did the cost increase each year, rounded to the nearest whole cent? What scale factor is shown by this graph?41/221 Find the area of the sector with a central angel of 120 and a radius of 8 inshces. Leave in terms of pie What is Sir Francis Bacon's legacy? How did his belietsimpact the world then and how did his beliefs affect theworld now? answer for 10 points and brainly Put each verb in brackets into either the present simple, the past simple, or the present perfect:2.I (work)...............for Blue Bank at the moment but(decide)................to change job7.I(hope).............you aren't a vegetarian. I (cook)..........you some lamb chop8.Recently a lot of young people (take up)........................... kite surfing9.When we (reach)...................the cinema, there (not be)............any tickets left Pls help me so I can pass Need an answer in hurry u can make the pic big The diagram shows a pattern using four identical rhombuses.Diagram NOTaccurately drawn252525Work out the size of the angle marked a.You must show your working, Why were the beliefs and actions of the abolitionists met with such strong reactions? number 14 and 15 pls 1. Find the value of x and round to the nearest tenth2. Find the value of y and round to the nearest tenth. Read the prompt and then write your response, using the guidelines:Your pen-pal from Puebla, Mexico, sent you an email that describes what she does before school. She has asked you to write back and explain how you get ready for school. Write your response in Spanish and use complete sentences. You may copy and paste the accented and special characters from this list if needed: , , , , , , , , , , , , , , Remember to only use the vocabulary words from this lesson and correct spelling, punctuation, and capitalization. Include all the requirements from below: :the verb serthe verb estarone possessive adjectiveone regular adjectiveone vocabulary phrase that has a reflexive verb***Can someone write in spanish for me following the requirements above this sentence below ***"Hi friend, in the mornings when I am getting ready for school I follow a routine. I wash my face first. Then, I brush my teeth and my hair. I put on some makeup and then finally get dressed for the day." Why is drip irrigation excellent for places like Dubai ?pls answer!!