write a program to input a number and check whether it is even or odd number
its qbasic question
no links plzz​

Answers

Answer 1

Answer:#include <stdio.h>

int main() {

   int num;

   printf("Enter an integer: ");

   scanf("%d", &num);

   // true if num is perfectly divisible by 2

   if(num % 2 == 0)

       printf("%d is even.", num);

   else

       printf("%d is odd.", num);

   

   return 0;

}


Related Questions

What is 1 of the rules for naming variables?

Answers

Answer:

Rules for Naming VariablesThe first character must be a letter or an underscore (_). You can't use a number as the first character. The rest of the variable name can include any letter, any number, or the underscore. You can't use any other characters, including spaces, symbols, and punctuation marks.

#Markasbrainlessplease

What is the definition of a performance, such as a poetry reading? O A. A work of art installed in public OB. A presentation of creative works OC. A collection of printed works D. A community-sponsored potluck​

Answers

Answer:

(B) A presentation of creative works.

Explanation:

Because performing is similar to presenting and poetry is similar to free writing, or creative words.

Which of the following is the best example of a way in which a programmer can use abstraction to manage the complexity of a program?

Replacing each instance of repeated code with a call to a procedure

Replacing longer variable names with shorter variable names to reduce typing errors

Replacing several lines of documentation with a single line of documentation

Replacing lists with individual variables

Answers

Answer : C

Explanation

The best example of a way in which a programmer can use abstraction to manage the complexity of a program is to  Replacing longer variable names with shorter variable names to reduce typing errors.

Why the replacement?

The act of  Replacing longer variable names with shorter variable names to reduce typing errors is very important.

Conclusively, in any programming, to handle the complexity of a program, on can Replace the string variables such as name1, name2, name3, and name4 with the use of list of strings known as the shorter form called names.

Learn more about programmer  from

https://brainly.com/question/23275071

Consider the following code segment.
int a = 3 + 2*3;
int b = 4 + 372;
int c = 7 % 4 + 3;
double d = a + b + c;
I
What is the value of d after the code segment is executed?

Answers

Answer:

20.0

Explanation:

3+2*6 = 9

4 + 3/2 = 5.5 but, since b is an int value, it will round down to a 5

7%4+3 = 3 +3 = 6. the % symbol will give the remainder of the quotient

9 + 5 + 6 = 20. It becomes 20.0 because d is a double value.

The value of d after the code segment is executed is 391.0

How to determine the value of d?

To do this, we evaluate the code statements one after the other.

So, we have:

int a = 3 + 2*3;

This gives a = 9

int b = 4 + 372;

This gives b = 376

int c = 7 % 4 + 3;

This gives c = 6

For double d = a + b + c;

Substitute a = 9, b = 376 and c = 6 in d = a + b + c;

So, we have:

d = 9 + 376 + 6

Evaluate the sum

d = 391.0

Hence, the value of d after the code segment is executed is 391.0

Read more about computer programs at:

https://brainly.com/question/23275071

Risk of new technology is NOT evaluated by asking questions during which phase?

Product screening

Risk assessment

Concept testing

Test marketing

Answers

Answer:

the answer is D

Explanation:

hope this helps :)

Which of the following best describes the purpose of an IP address?

IP addresses provide a unique number for identifying devices that send and receive information on the Internet

IP addresses assist in the reconstruction of a message that has been divided into many packets

IP addresses indicate the location where an internet-connected computing device was manufactured

IP addresses indicate how many times an individual packet has been requested by a router

Answers

IP addresses provide a unique number for identifying devices that send and receive information on the Internet

The best describes the purpose of an IP address is, that IP addresses provide a unique number for identifying devices that send and receive information on the Internet. The correct option is A.

What is an IP address?

An IP address is an address of the network of computers connected to the internet. The address is a sequence of numbers that are provided by the internet servers.

The full form of the IP address is internet protocol. It is the online address that is provided by the internet provider, The address will easily recognize if the person is using the internet. This address will be connected to the computers.

Thus, the correct option is A. IP addresses provide a unique number for identifying devices that send and receive information on the Internet.

To learn more about IP addresses, refer to the link:

https://brainly.com/question/16011753

#SPJ6

What is one pass of a coding sequence called? a return a loop an iteration an infinite loop.​

Answers

Answer: an iteration

Explanation:

Edge

Answer:

C

Explanation:

How to create a trace table

Answers

Answer:

To create table g

Go to insert tab

Choose Table option at left corner and measure the table box.

Table is created in Microsoft.

Which service uses a broadband connection?
Select one:
O a. DSL
O b. 3G and 4G
O c. dial up
O d. all connections use broadband

Answers

Answer:

d

Explanation:

because all in one question form

PLSSS HELP!! During the late 20th century, immigration to the United States increased dramatically from


1.Asia and northern Africa

2.southern and eastern Europe

3.Asia and Latin America

4.Sun-Saharan Africa and Australia

5.Latin America and western Europe
12345678910

Answers

Answer:

The correct answer is 3. Asia and Latin America.

Explanation:

America has historically been, and continues to be, one of the main arrival points for migrants from all regions of the world, mainly due to the security and political and economic stability that the United States offers its citizens. In recent years, the main regions that have sent immigrants to the United States have been Asia (Southeast Asian nations, such as Vietnam, the Philippines; authoritarian countries such as China or extremely poor such as India) and Latin America (especially Mexico, Honduras, El Salvador, Guatemala and Nicaragua).

write a programme to input the values of two angle and find out the third angle of a triangle​

Answers

Answer:#include <stdio.h>

int main()  

{  

   int ang1, ang2, ang3; /*are three angles of a triangle  */

 

   /* Read two angles of the triangle from user separated by comma*/  

   printf("Input two angles of triangle separated by comma : ");  

   scanf("%d, %d", &ang1, &ang2);  

 

    ang3 = 180 - (ang1 + ang2);  /* Calculates the third angle  */

 

   printf("Third angle of the triangle :  %d\n", ang3);  

 

   return 0;  

}  

Select the correct answer.
What does a touch ring allow an artist to do on a digital tablet?
O A draw shapes using it like a pen
OB. right-click and double-click like a mouse
O c. draw and modify strokes
OD. select an activity from the menu list

Answers

I think that it's OD

What changes can be done using image editing tool?
a) Resize b) Crop c) Resize and crop

Answers

The answer is C
Most of these image editing tools allow you to crop, rotate, adjust brightness, contrast and color, touch up and add filters to photos .

Thumbnail sketches have vanishing points and show a natural view of an image.True or False?

Answers

Answer:

False!

Explanation:

I'm an artist- thumbnail sketches are smaller, looser versions of a bigger drawing you're going to create. They can be of anything and don't need to have a vanishing point/natural view of an object.

1.03!! need major help!!

Answers

Answer: the answer is A

Explanation:

Moore's law, prediction made by American engineer Gordon Moore in 1965 that the number of transistors per silicon chip doubles every year. ... Moore observed that the number of transistors on a computer chip was doubling about every 18–24 months.

The photograph shows a way individuals work together in groups a the photograph​

Answers

Answer:

D. Administrators

Explanation:

Hope it helps

#CarryOnLearning

Write a program to create a list of numbers in the range of 1 to 10. Then delete all the even numbers from the list and print the final list.

Answers

>>> range (0,11,2)
[0, 2, 4, 6, 8, 10]

What is a commerce platform?

Answers

Answer:

In basic terms, a commerce platform simply refers to technology that enables a transaction (the commerce bit). The platform part allows you to overlay that technology across various channels such as online and in-store.

Answer:

Explanation:

a commerce platform simply refers to technology that enables a transaction (the commerce bit). The platform part allows you to overlay that technology across various channels such as online and in-store.20 Feb 2017

List two building techniques or materials that should be considered if you are building in Tornado Alley.

Answers

Have a strong foundation and a tornado shelter.

Unlike radio frequency identification (RFID) tags, bar codes: Question 30 options: require a reader that tunes into a specific frequency to determine the location of products. cannot be read using a handheld or pen-type scanner that reads and records data instantly. require direct line-of-sight scanning. increase data entry errors by 75 percent.

Answers

Answer:

require direct line-of-sight scanning.

Explanation:

Unlike radio frequency identification (RFID) tags, bar codes require direct line-of-sight scanning. Meaning you need a device that can scan the bar code and the scanner needs to be directly pointing at the barcode without anything in the way. This is because bar codes work by embedding the information in a design of lines that need to be scanned to retrieve the information. If anything gets in the way it interrupts the scanning process and the data is not correctly transmitted. RFID tags on the other hand do not need a direct line of sight since the information is transferred through radiofrequency. This allows the data to be transferred without a line of sight and at a distance of up to 300ft.

You learned that you can use the tags to insert a link to another webpage. One problem that webpage developers face is that, after a time, links may no longer work. Can you think of ways that you can avoid broken links?

Answers

Answer:

Create hyperlinks instead

Explanation:

print a test page what is the answer.​

Answers

Answer:

The keys "Ctrl" and "P"

Yah whatever he said i dont have a computer

Caden, Jacob, Lucas, and Michael, whose last names are Armstrong, Boothe, Gardner, and Robinson, live in four houses in a row.
From the clues below, find each person’s full name and house position (with house number 1 at the left).

1. Michael doesn’t live next door to Lucas.
2. Robinson’s house is after Gardner’s and before Michael’s.
3. Boothe’s house is just before Armstrong’s.
4. Lucas’ house, which is not first, is somewhere to the left of Caden’s.

Answers

Answer:

Jacob Gardner - Lucas Robinson - Caden Boothe - Michael Armstrong

Explanation:

According to clue 4, Lucas's house is not the first, and he has a house on his right, so it can only be house 2 or house 3. Therefore, Caden's house (which is on the right right of Lucas's), it can only be house 3 or house 4.

In turn, track 1 says that Michael's house is not next to Lucas's, so it can be 1 (if Lucas's house is 3) or 4 (if Lucas's house is in 2).

Track 2 says that there is a house before Michael's, which eliminates the possibility that Michael's house is number 1 (there would be no previous house). Thus, in addition, Lucas's house turns out to be 2 (Michael's house is not next door) and Caden's is 3, while Jacon's is house 1.

Jacob - Lucas - Caden - Michael

In turn, regarding surnames, clue 2 says that Robinson's house is after Gardner's and before Michael's. Thus, Robinson can be the last name of Jacob or Lucas, and Gardner that of Lucas or Caden. Now, since Boothe's house is just before Armstrong's, the order would be as follows:

Jacob Gardner - Lucas Robinson - Caden Boothe - Michael Armstrong

1.The hardware that allows data to be transmitted from a computer along a telephone line to another computer at the other end is a_____

modem

keyboard

visual display unit

printer



Answers

So this is called a modem we use it to send  and receive info over telephone lines

Hope this helps

-scav

I NEED IT ASAP!!!!!!!



Search for a "family budget estimator" and calculate the monthly expenses for a family living in your city.

Insert a screenshot of the calculator you used, as well as all of the information you entered into it. If you are unable to insert a screenshot, then list the information below

Answers

MONTHLY COSTS

••• adults and  ••• children

•••

2 adults and 4 children

Union County, NJ

HOUSING •••   $1,731

FOOD •••   $1,142

CHILD CARE •••   $1,723

Transportation •••   $1,173

HEALTH CARE •••   $1,528

OTHER NECESSITIES •••   $1,159

TAXES •••   $1,411

Monthly Total •••   $9,865

Annual Total •••   $118,386

Hey, Another question. I'm sure it's possible in the future, but I wanted to ask if HIE would be possible. I'm sure it would be, I just want to hear other people's comments on this. (Beatless)

Answers

Answer:

Originally Answered: Will there ever be a band as big as the Beatles? No, there will never be a band as popular as the Beatles. For one thing they were exceptionally good in a time of great music in general.

Explanation:

please mark this answer as brainliest

1. What are you going to do if someone ask for your personal information online?​

Answers

Answer:

Ask them why they need such information.

Explanation:

If they can't give you a good reason, please don't share your personal info. ♥

Answer:

If someone ask my personal information online i'll  trun off  my mobile data or wi-fi  and then i'll block the user's Id

Explanation:

hope it is helpful to you

Directions: In at least 10 complete sentences, persuade me into believing your favorite movie is the best movie ever. (No more than 15 sentences)

Answers

Explanation:

In my personal opinion, the movie called " Soul Surfers " one of the most inspiring movies out there. Why, you may ask? First of all, Bethany Hamilton has found such a joy and thrill for surfer. Sadly, every surfers worst nightmare was a reality to Bethany. While her and a couple others we surfing, a shark obruptly bit Bethany Hamilton's arm off. You would think her carrier would be over, but she simply denied the odds of that happening. She got on her surf board and started practicing again! She began just as good as she was before the accident. And that is why " Soul Surfer " is the best movie ever!

who likes sandshrew ​

Answers

Answer:

sandshrew is a cute character in pokemon

PLEASE HELP Write a program that loads one three-digit number and prints the root of its largest
digits in python.​

Answers

Answer:

num1 = float(input("Enter first digit of number: "))

num2 = float(input("Enter second digit of number: "))

num3 = float(input("Enter third digit of number: "))

if (num1 > num2) and (num1 > num3):

  largest = num1

num_sqrt = num1 ** 0.5

elif (num2 > num1) and (num2 > num3):

  largest = num2

num_sqrt = num2 ** 0.5

else:

  largest = num3

num_sqrt = num3 ** 0.5

print("The square root of largest digit of the three digit number is",num_sqrt)

Explanation:

num1 = float(input("Enter first digit of number: "))

num2 = float(input("Enter second digit of number: "))

num3 = float(input("Enter third digit of number: "))

if (num1 > num2) and (num1 > num3):

  largest = num1

num_sqrt = num1 ** 0.5

elif (num2 > num1) and (num2 > num3):

  largest = num2

num_sqrt = num2 ** 0.5

else:

  largest = num3

num_sqrt = num3 ** 0.5

print("The square root of largest digit of the three digit number is",num_sqrt)

Other Questions
The colour of chillies at the time of ripening changes from green to red. give reasons The California Food Handler Card law requires food handlers to _____.register with the California Restaurant Associationwash their handsundergo basic food-safety trainingtake food management training Use the word bank to put this sentence in order.Word Bank:hablarnecesitoconla maestra.Yo You come home one night to find your apartment door unlocked and the apartment in a state of complete disarray. Since you left it in good condition, you assume that your roommate, who has a tendency to be messy and inconsiderate, has yet again made a mess and not bothered to clean it up. You know that if your hypothesis is correct your roommate must have come home at some point after you left. You find that the coat he was wearing when you dropped him off at work this morning is now hanging in the closet, indicating that he has indeed been home since both of you left the apartment this morning. From this evidence, you conclude that there can be no other explanation for the mess.Which of the following accurately describe the connection you make between your hypothesis and your evidence? Check all that apply.a. You are committing the fallacy of affirming the consequent.b. You are claiming that, because several implications of your hypothesis are true, your hypothesis itself is also necessarily true.c. You are formulating your hypothesis from the evidence at hand, which is an infallible way to arrive at a conclusion.d. Since your roommate is messy, your hypothesis is undoubtedly correct. The difference of seven and two tenths and a number is more than twenty nine. Common laws provide rules for lawsuits in which individuals sue other individuals for damages. true or false PLEASE HURRY FREE BRAINLIEST LINK WILL BE REPORTED Question 112, 10, 50, ...plz help me out! 2. The fabric wall hanging has an area of112 square feet. The width is 8 feet.What is the length? Answer the question Please, I am not sure of what it is. Ann's rent increased from $1,200 to $1,350.By what percent did her rent increase? How many liters of water vapor is produced when 33.4 moles of gaseous ammonia is reacted in the following reaction? Hint: Convert to moles first What are two partial products you would add to find 21 x 509? PLSS HELPP 15 POINTSSS PLSSSmake your own sentences using the word DOLEFUL when did the alec meet the stallion ? Which statement regarding the impact of globalizationon India's caste system is best supported by thepassage?Globalization has led to increased manufacturing ofconsumer technology, which has helped break downsocial barriers.Globalization has led to an increase inindustrialization, which has expanded urban areas,where social differences matter less.O Globalization has led to exposure of the Westernworld through technology, which has increased thesocial status for people from lower castes.O Globalization has led to urbanization, which hasresulted in more job opportunities and eliminatedtraditional social restraints for people from lowerclasses. This region is located between the Appalachian Plateau and the Blue Ridge Mountains regions; has forest and valleys thatprovide land for cattle. It is also known for textile production.A. ridge and valleyB. coastal plainsC. piedmontD. fall line Shen paid $14.98 for a 7.26 KG bag of dog food. A few weeks later he paid $17.54 or 7.94 kg bag. Find the unit price for each bag. your alien friend from planet xenon is visiting and wants to learn how to breed pea plants you show your friend a recent batch of pea plants with purple flowers that you grew by crossing plants that had purple flowers with plants that had white flowers your friend is confused as to why your plants all have purple flowers how would you explain in the simplest way possible what happened Confidence makes you happier because it gives you the possibility to live free from fear and anxiety, and this allows you to be more open to the good things in life, (with examples from your private life) living in a country other than yours.pleeees help a few sentenses its ok