#include <iostream>
using namespace std;

int main()
{
int num1, num2,r,i;

cout<<"Enter a start: ";
cin>>num1;
cout<<"Enter an end: ";
cin>>num2;
cout<<"\n\nODD NUMBERS\n";

for(i=num1; i<=num2; i++){
r=i%2;
if(r==1)
cout<<" "<<i;

}
cout<<"\nEVEN NUMBERS\n";

for(i=num1; i<=num2; i++){
r=i%2;
if(r==0)
cout<<" "<<i;
}
if(num1>num2){
cout<<"ERROR! Starting Number is GREATER THAN the Ending Number!!!";
return 0;
}
}

Using while loop, do while and for loop write a C++ program that lets you input a starting and ending integer (range) then display all the odd integers and the even integers within the range then compute the sum of each set of integers.:

If the starting number is greater than ending number, the program should display “ERROR! Starting Number is GREATER THAN the Ending Number!!!”.

Sample output:

Enter a start: 1

Enter an end: 10

ODD NUMBERS

1 3 5 7 9 Sum: 25

EVEN NUMBERS

2 4 6 8 10 Sum: 30


the attached pic has been my progress so far. please help me reach the expected output.​

#include &lt;iostream&gt;using Namespace Std;int Main(){ Int Num1, Num2,r,i; Cout&lt;&lt;"Enter A Start:

Answers

Answer 1

Explanation:

...........................


Related Questions

What is a secured network?
A. not connected to the Internet
B. free of viruses
C. accessible by anyone
D. not open to the public

Answers

Answer:

D) Not open to the public.

Explanation:

Since its not public its secured and safe. Hope this helps! Please mark brainliest!!

In python,

Write a program that calculates and prints the number of minutes in a year.

Assume the following:

1 year = 365 days (Ignore leap years)
1 day = 24 hours
1 hour = 60 minutes
Below is an example of the correct output format:

The number of minutes in a year is X

Answers

The algorithm given below does not take any parameter to print the number of days in a year, instead all the parameters where statically included as given in the exercise.

//We started by given the function a number with no return type since we //just want to print something

Function To Convert Year to Minutes

def printNumberOfMinutesInOneYear ( ):

   int oneYear = 365;

   int oneDay = 24;

   int oneHour = 60

  int oneYeatInMinutes = oneYear*oneDay*oneHour

   print(The number of minutes in a year is oneYeatInMinutes)

Learn more about Python Programming Language here:

https://brainly.com/question/24661996

computer network reduce the cost true or false​

Answers

True... computer network reduces cost

Imagine that a school decided to use a database to track television shows that students are watching. What would be some of the advantages and disadvantages of tracking students in this way?

Answers

Answer:

Invasion of privacy, as well as concerns on the validity of the information, would rise.

Explanation:

This are world wide known negatives, as well as too many variables leads to lack of solid information.

Evolution of the concepts of quality

Answers

Answer:

The quality concepts were gradually changed from the achievement of quality standards, satisfaction of customer needs, and expectations to customer delight. ... Thus, the concept of “customer delight” and the means to provide the innovative quality so as to meet the unsatisfied customers' latent needs are elaborated on.

Using the data for the JC Consulting database shown in Figure 2-1, identify the one-to-many relationships as well as the primary key fields and foreign key fields for each of the five tables.

Answers

The JC consulting database is a structure used to store organized information of JC consulting

How to identify the relationship

From the figure, we can see that the cardinality of the project table and the client table is 1 : many.

Similarly, the cardinality of the project table and the ProjectLifeItems is 1 : many.

Hence, the one-to-many relationships are Project & Clients and Project & ProjectLifeItems

How to identify the primary key

This is the key on the first table (i.e. the client table)

Hence, the primary key field is ClientID

How to identify the foreign keys

These are the fields that correspond to the primary key on the client table

The fields that correspond to ClientID are ProjectID, EmployeeID, TaskID and ProjectLifeItemsID

Hence, the foreign keys are ClientID are ProjectID, EmployeeID, TaskID and ProjectLifeItemsID

Read more about database at:

https://brainly.com/question/24223730

________ are created by combining and customizing components from different online software applications.

Answers

Answer:

Mashup are created by combining and customizing components form different online software applications.

what is font formatting ?​

Answers

Answer:

Font formatting. FONT FORMATTING. When your document comprises pages and pages of plain text, it can be very hard for your reader to find the important ideas buried in the page. You can improve the appearance and readability of your document by changing the appearance of the text – this is known as formatting.

Let cell E2 = 100, what is the result of this formula? =NOT(E2<100) *

Answers

Answer:

True

Explanation:

Which of the following is the first step considered while creating a chart?
a. Determine the chart layout.
b. Determine the title for the chart.
c. Determine the goal for the chart.
d. Decide the chart type.

Answers

Determine the chart layout

Need comments added to the following java code:

public class Point {

private double x;

private double y;

private String type;

public void setXY(double xx, double yy) {
x = xx;
y = yy;
}

public double getY() {
return y;
}

public String getType() {
return type;
}

public void setType(String type) {
this.type = type;
}

public double[] getDimensions() {
return new double[] { x, y };
}

public String toString() {
return "Point [" + x + ", " + y + "] is " + type;
}
}

Answers

Answer: Are there options for this?

Explanation:

Ingredient Adjuster
A cookie recipe calls for the following ingredients:
1.5 cups of sugar
1 cup of butter
2.75 cups of flour
The recipe produces 48 cookies with these amounts of the ingredients. Design a pro- gram that asks the user how many cookies he or she wants to make, and then displays the number of cups of each ingredient needed for the specified number of cookies.

Answers

Answer:

#include <iostream>

using namespace std;

int main(){

float cookies=0;

float sugar=1.5;

float butter=1;

float flour=2.75;

cout<<"how many cookies do you want: "<<endl;

cin>>cookies;

float num = cookies/48;

cout<<num<<endl;

cout<< "to make " << cookies<<"cookies you need: "<<endl;

cout<<"sugar cups: "<<num*sugar<<endl;

cout<<"butter cups: "<<num*butter<<endl;

cout<<"flour cups: "<<num*flour<<endl;

return 0;

}

A keyboard would be considered what 2 things

Answers

Answer:

A typing tool and a weapon

Explanation:

2. What is the difference between requirement validation and requirement
verification?

Answers

Validation focuses on whether the software meets the expectations and requirements of the end user. Verification finds potential issues early in the product development process. Validation finds any issues that verification missed

Question 2 of 10
Which topic would be included within the discipline of software engineering?
A. Testing and development of apps
B. The fundamentals of computing
C. Development of new computer systems
O D. Integration of business processes
SUBMIT

Answers

The topic would be included within the discipline of software engineering is Testing and development of apps.

What does software engineering made up of?

The Students who are said to focus on software engineering are known to be expected to benefit and get a whole lot of knowledge from a lot of subject areas.

Theses areas includes computer programming, algorithms, numerical methods, design patterns, human-computer interaction, and others.

Learn kore about  software engineering from

https://brainly.com/question/7145033

Answer:

A.

Explanation:

Consider that we want to write a function compare to compare a Cat from question B1 and a Dragon from question B2. If we want this to be a friend function, what do we do and why? Assume that a particular Cat is considered better than a particular Dragon if the product of the tail length and number of teeth is greater than the age of the dragon. Write the implementation of such a function.​

Answers

It’s c because I did it to

if you write a Python command to find the result of: . 1340+1242-43*4
(123-12)*12+14 .
-12*(16/2)+ 13*2​

Answers

Very easy

Program:-

[tex]\tt R1=1340+1242-43*4[/tex]

[tex]\tt R2=(123-12)*12+14[/tex]

[tex]\tt R3=-12*(16/2)+13*2[/tex]

[tex]\tt print(R1,R2,R3)[/tex]

In computer science, what does it mean to interface?
A. To know the history of computing and computer science
B. To be able to personally show others how to use a computer
C. To know how to use materials and tools to build a computer
D. To communicate with a computer through a device or program

Answers

D, To communicate with a computer through a device or program :)

If I went to universals during Gradventure would I be able to use an express pass

Answers

Even though its a school trip I think it would be allowed since its your money i mean they cant really deny it

Also are you going this year or next year? I am too!

Answer:

I believe it would still be honored

Explanation:

I don't see anywhere where it states that you cannot use it

Hyperactive Media Sales needs to provide a remote access solution for its traveling salespeople. They have a server running Windows Server 2012 R2 that can be configured as a remote access server for VPN connectivity. You have been reviewing the VPN protocols that are available and need to decide on the best protocol. The traveling salespeople often stay in hotels, so firewall compatibility is a serious concern. Which VPN protocol has the best compatibility with firewalls? Why?

Answers

Answer:

because is a serious concern

different between computer and other electonic device

Answers

Answer:

Computers have electric motors in them, to run fans, spin disks, etc. ... Other electronic devices are more complex and often made of many more basic devices.

Answer:

You said your camera was not working

how do we calculate binary numbers??​

Answers

take the number then divide it by 2 keep dividing the number by 2 untill you get 0 then write the remainders in reverse order

example

we will find the number 12

divide 12 by 2 we get 6 with a remainder of 0

now we divide 6 by 2 we get 3 with a reminder of 0

next we divide 3 by 2 we get 1.5 with a remainder of 1

because we got 1.5 we round down so 1

next we divide 1 by 2 and get -0.5 with a remainder of

1

so the answer is

1100

hope this helps scav

The web is based on the ____ Protocol?

Answers

Answer:

blank

Explanation:

that question answer is the web is based on the blank protocol

Answer:

The web is based on the HTTP protocol

a. The two programs perform the same function. Describe it. b. Which version performs better, and why

Answers

Programs are series of instructions interpreted by a computer

The description of the program is to compute the square of the difference between corresponding elements of two arraysThe better version of the program is program A.

How to describe the programs

From the programs, we have the following highlights

The program iterates from 1 to n - 1The iteration calculates the difference between corresponding elements of the arraysThe difference is then squared

Hence, the description of the program is to compute the square of the difference between corresponding elements of two arrays

The better version

The better version of the program is program A.

This is so, because the program uses fewer instructions for the same task as program B

Read more about programs at:

https://brainly.com/question/16397886

What is the data flow?​

Answers

Answer:

A data flow is a way of representing a flow of data through a process or a system

An international fast-food chain is looking for opportunities to leverage the Cloud to gain insights into customer data, including location, and order patterns. The client has engaged Accenture to help create customer-focused experiences, including promotions.

They need Accenture's help with this campaign and to create a unique user experience for all their customers.

Which technology, when partnered with Cloud, would allow this to occur?

Answers

Answer:

Artificial Intelligence

Explanation:

The technology that when partnered with the cloud would allow this to happen is Artificial Intelligence and Machine learning. Artificial intelligence (AI) is an era that allows a device to act like a person.

I. Direction: Write TRUE if the statement shows Principles of Facility Planning, and FALSE if
the statement is not.
1. An ideal facility building should serve in achieving the long-term goals of the
organization.
2. An ideal facility building should be unsustainable in long run.
3. A hotel lobby is difficult and cheap to maintain.
4. An ideal facility building should fulfill the needs of the intended user.
5. An ideal facility building should be in harmony with local community & law of the
land.

Answers

The following are either true or false in respect of Principles of Facility Planning/Management.

No.  1 is True. No. 2 is False. No. 3 is False. No. 4 is True. No. 5 is True.

What are the Principles of Facility Planning?

The main principles of facility planning are given below:

The planner must coordinate the plans with other government agencies that provide facilities look at other options before selecting the final location for the facilitygive adequate justification for the proposed facilitydevelop a management plan that includes design priorities and operational strategiesuse the Life-Cycle Cost principles while designing ensure that it is in line with the organisations plans/goals etc

Please see the link below for more about Facility Management:

https://brainly.com/question/5047968

Select the correct answer.
What is the advantage of using external JS and CSS files?

Answers

Answer:

B

Explanation:

Discuss operator precedence in C programming with examples ​

Answers

Answer:

See picture for the operator precedence.

A very common pitfall is the << (shift) operator.

It has lower precedence than, for instance, the + operator, so a statement like:

int a = 3;

int c = a << 2 + 1;

will produce a different result than:

int c = (a << 2) + 1;

The first will evaluate to c = a<<3.

define throway protype with examples

Answers

Explanation:

A paper prototype is an example of a throwaway prototype created in the form of rough or hand-sketched drawings of the product's interface, front-end design, and sometimes the back end work.

Other Questions
2.3 Describe TWO ways in which social media could have resulted in the breakdownof Carlisle and Joe's relationship. Which is the following is true about the properties of the mantle?1)The mantle is hotter the core.2)The mantle contains two different layers.3)There are rock samples collected from the mantle.4)The mantle produces magnetic fields. help me please, will give brainliest Why might the United States impose a trade embargo on a foreign nation A. Displeased with political action B. Responses to current military engagements C. To force a political/economic actionD. All of these are reasons to impose an embargo Choose the best translation:soapsopajabnsupacampo A baker notices that when dough is made, the one that is left in the warmer area rises faster than the one left in the refrigerator. Why is this? How do changing times and attitudes affect our taste in music? examples, and explain how they affect societys taste in music. When the president of Smithson Corp. proposed a new product for launch, his board of directors readily accepted his proposition without considering the risks. This is an example of _____. What does the DNA shape remind you of? How many strands do you see? As a concept, logos often refers to the During development, a doctor discovers that a fetus is not receiving enough oxygen. Which structure should the doctor examine further to find a source of the problem?A. Umbilical cordB. Amniotic sacC. Uterus D. Placenta PLEASE HELP WILL GIVE 20 POINTS AND POSSIBLY THE BRAINLIEST THING.Which pair of expressions are equivalent using the Associative Property of Multiplication?6(4a 2) = 24a 126(4a 2) = (4a 2) 66(4a 2) = 6 4a 26(4a 2) = (6 4a) 2 A lung cell maintains homeostasis. What is this an example of?. anyone know the answer? How would you propose to eliminate unrestrained gun violence in the USA? How did Jason Reynolds use Ethos Pathos and Logos in his Leslie University commencement speech? "What do you know about Hinduism? What do you want to learn about Hinduism? Need help with chemistry problem I'll give 60 points!Thanks! what were the major changes introduced by Stalin in Russia