1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
marusya05 [52]
3 years ago
7

Write an application that asks a user to enter an integer. Display a statement that indicates whether the integer is even or odd

.
Computers and Technology
1 answer:
ddd [48]3 years ago
3 0

Answer:

in C++:

#include <iostream>

int main(){

int input;

std::cout<<"Enter a number: "<<std::endl;

std::cin>>input;

if(input%2==0){

std::cout<<" The number is even"<<std::endl;

}else{

std::cout<<"The number is odd"<<std::endl;

}

}

Explanation:

Getting user input as integer, and check if NUMBER÷2 have remainder=0 or no, if remainder==0 then number is even else number is odd

You might be interested in
Users access servers located on a server VLAN and servers located in departmental VLANs. Users are located in the departmental V
ElenaW [278]

Answer:

Most of the traffic will have to be multilayer switched.

Explanation:

This is often referred to when a layer 3 switch is seen to add tons of flexibility to a network. As seen in in the above VLAN connection, it serves as a switch to connect devices found on same subnet a lightning speed and are seen also to posses IP routing intelligence which is seen as a doubling up built in it which serves as a router. It seen in most cases to support routing protocools, inspect incoming packages and most times checking sources and destination addresses which are been worked with.

5 0
3 years ago
Which command is located in the Action Settings dialog box that allows a user to set a linked or embedded object as a trigger to
aev [14]

Answer:

Object action was the answer.

Explanation:

3 0
3 years ago
Read 2 more answers
The changing of values for an object through a system is represented by the _____. (Points : 6) communication diagram
Fed [463]

Answer:

The correct option is communication diagram

Explanation:

The communication diagram represents the change of values for an item by a system.

A communication diagram is an expansion of the diagram of objects showing the objects together with the texts traveling from one to another. Besides the connections between objects, the communication diagram demonstrates the messages that the objects send to one another.

The correct option is a) communication diagram

8 0
3 years ago
Provide an example of a time in your personal or work life when you used the household measuring system and measured out an exac
Svetach [21]

Answer:

Cooking

Explanation:

Cooking and baking would be the easiest answer to come up with. It's the most practical thing that you would be measuring liquids and solids for. For example, you should measure how much water or flour you use when making food. Try and think of a time you may have used a measuring cup of some sort.

8 0
3 years ago
Studying the discipline of information technology may lead to a job in which field?
Ad libitum [116K]

Answer:computer support

Explanation:

7 0
2 years ago
Other questions:
  • Cloud Kicks is undergoing a GDPR-focused implementation to ensure access to personal information data is limited to only users w
    7·1 answer
  • What features of a credit card do you need to research when considering a credit card?
    7·2 answers
  • The network services and facilities that users interact with are provided by
    11·1 answer
  • Can a computer will work more efficiently if you perform disk optimization
    9·1 answer
  • Write a program to create an interface Shape containing the method declarations of area and perimeter. Then, create a class Rect
    13·1 answer
  • Shelby wants to move “ExpirationDate” to the top of the datasheet. What should she do?
    13·1 answer
  • My laptop screen is flashing colors all of the sudden, how can I solve this problem? Also why is this happening is it software o
    7·1 answer
  • What should be taken into consideration when determining which critical information should be protected?
    11·1 answer
  • What should you commit to your family members?
    10·1 answer
  • Consider an individual who wishes to ensure that their information remains secure and confidential, possibly to secure their per
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!