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

Edhesive 11.4 code practice

Answers

Answer:

<!DOCTYPE html>

<html>

<body>

<h2>Billboard Hot 100 Songs 1980</h2>

<p>1. Blondie - “Call Me“</p>

<h2>Billboard Hot R&B/Hip-Hop Songs 1980</h2>

<p>1. Michael Jackson - “Rock with You“</p>

<h2>Billboard Hot Country Songs 1980</h2>

<p>1. Kenny Rogers - “Coward of the County”</p>

</body>

</html>

Mainly for edhesive users

100% on edhesive code practice 11.4

what are the benefits of studying biomes in your locality?​

Answers

Answer:

Because we share the world with many other species of plants and animals, we must consider the consequences of our actions. Over the past several decades, increasing human activity has rapidly destroyed or polluted many ecological habitats throughout the world. It is important to preserve all types of biomes as each houses many unique forms of life. However, the continued heavy exploitation of certain biomes, such as the forest and aquatic, may have more severe implications.

Complete the statement about WYSIWYG editors when you use a WYSIWYG editor you typically specify the continent and blank A.layout B.Html Code C. Meta tags while the editor generates the blank A.layout B. Html code C. Meta tags

Answers

Answer:

When you use a WYSIWYG editor you typically specify the content and layout while the editor generates the HTML code

Explanation:

Required

Complete the blanks

In WYSIWYG, the user of the application provides contents to the WYSIWYG software and also designs the appearance; The appearance is referred to as the layout.

Throughout the design, the user will not use HTML codes; it is the duty of the WYSIWYG editor to generate HTML code based on the input designs by the user.

Why do you need to cite your sources? (check all that apply)
other researchers should not be able to use your work
you give credit to the original author
you avoid plagiarism
DONE

Answers

the answer to this is  2 and 3

Hope this helped

-scav

Answer:

2 3 baka baddies

Explanation:

How do i fix this to make it run ???

class Main {
public static void main(String[] args) {

// Length and sides.

Cube shape1 = new Cube(5, 6);


HalfSquare shape3 = new HalfSquare(4, 20, 4, 5);

// Cluster of print statements to deliver stats about the shape.

// Shape 1
System.out.println(shape1.toString());
System.out.println("");
System.out.println(shape1.toStringCube());
System.out.println("");

// Shape 2
System.out.println("");
System.out.println(shape3.toString());
System.out.println("");
System.out.println(shape3.toStringHalfSquare());


}
}


// Main Class
class Shapes {

private int sidesNum;
// Constructors, Mutators, and Accessors
public Shapes(int SN){
setSidesNum(SN);
}
public void setSidesNum(int value){
this.sidesNum = value;
return;
}
public int sideNumber(){
return this.sidesNum;
}

// shapes, shapes, and more shapes
public String toString() {
return " This shape has: " + sideNumber() + " sides.";
}
}


class Cube extends Shapes{
private int volume;


// Constructors, Mutators, and Accessors
public Cube(int Vol, int SN){
super(SN);
setVolume(Vol);
}

public void setVolume(int value){
this.volume = value;
return;
}

public int getVolume(){
return this.volume;
}

public String toStringCube() {
return " " + "Volume of a cube = " + Math.pow(getVolume(), 3 ) + " squared. Surface area = " + Math.pow(getVolume(), 2) * sideNumber() + " units2.";
}

}

class HalfSquare extends Shapes{
private int length;
private int width;
private int height;

// Constructors, Mutators, and Accessors
public HalfSquare(int lngh, int hght, int wdt, int SN){

super(SN);
setLength(lngh);
setHeight(hght);
setWidth(wdt);
}
public void setLength(int value5){
this.length = value5;
return;
}
public void setWidth(int value6){
this.width = value6;
return;
}
public void setHeight(int value7){
this.height = value7;
return;
}
public int getLength(){
return this.length;
}
public int getWidth(){
return this.width;
}
public int getHeight(){
return this.height;
}
public String toStringhalfSquare() {
double hypot = (Math.sqrt((getLength() * getLength()) + (getHeight() * getHeight())));
return "The volume of a prism = " + (getLength() * getWidth() * getHeight()) * .5 + " squared. The hypotenuse = " + hypot + ", The surface area =" + ((getLength() * getHeight()) + (hypot * getWidth()) + getHeight() * getWidth() ) + " units2";
}
}

Answers

Explanation:

Ask a professional

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).

Top-down programming divides a very large or complex programming task into smaller, more manageable chunks.
true
false

Answers

Answer:

A

Explanation:

Top-down is a programming style, the mainstay of traditional procedural languages, in which design begins by specifying complex pieces and then dividing them into successively smaller pieces.

Answer:

True

Explanation:

Which of the following is constantly changing and advancing?

Innovation

Cell phones

Technology

Computers

Answers

Answer:

Technology

Explanation:

This is because Cell phones ,Innovation ,and Computers ARE changing although they are in the same group of "Technology" so it would be technology.

Any questions?

an insurance agent is paid a salary of 200gh cedis and a commission of 3% on all sales over 2000gh cedis per month. if his total income in a particular month was 530gh cedis, what was the amount of his sales for that month? ​

Answers

Answer: 11000gh cedis

Explanation:

Since the salary of the insurance agent is 200gh cedis and his total income for the month was 530gh cedis, that means that the commission he got was:

= 530gh cedis - 200gh cedis

= 330gh cedis

Since he gets 3% on all sales and made 330gh as commission, the amount of sales for the month will be:

3% of x = 330

0.03 × x = 330

0.03x = 330

x = 330/0.03

x = 11000

Therefore, the sales was 11000gh cedis

Give at least five (5) practices that you must observe in your classroom.​

Answers

Answer:

Offer second chances/clean slates.

Be resourceful.

Make learning active.

Be an advocate.

Pursue lifelong learning.

Answer:

hi how are you

Explanation:

Electromagnetic fields flow in what way?


high voltage to low voltage

sender to receiver

high frequency to low frequency

north to south

Answers

Answer: North to South

Explanation:

Electromagnetic field is a field that's caused by moving electric charge. The direction of the electromagnetic field is from the north to the south pole. This direction can be deduced by holding the current carrying conductor in your left hand with the thumb extended pointing in the direction of the electron flow from negative to positive.

Even though electromagnetic fields cannot be seen with our eyes, they are presentcin our environment as they are produced through the build up of electric charges.

Answer:

high frequency to low frequency, or high voltage to low voltage.

Explanation:

All i know is north to south is wrong i got it wrong and had to do a retake on the quiz

Can someone tell me which key is the num lock

Answers

I don’t understand what u mean can u explain so i can help

What electronic appliances at your home / school can be controlled remotely? Name any 4
with its uses.

Answers

Answer:

Hi how are you doing today Jasmine

How do you change the order of the slides in your presentation in the slide pane? Copy and paste Delete Drag and drop Remove

Answers

Answer: you just drag the slide to the position you want it to be

Explanation:

Need answer ASAP I’ll mark brainliest if correct

How can you create a class without any methods, yet call a method from that class?

The class can___ methods from another class

Answers

the class can call methods from another class


hope that helps if you have any questions let me know and if you could mark this as brainliest i would really appreciate it!

Bredan has $200 on a savings account with a 1% interest rate. Using the formula for a simple interest how much will her earn in interest after 7 years

Answers

Answer:

$14

Explanation:

Simple interest can be calculated using below formula

I=PRT .................(1)

Where P= principal = $200

I= interest = 1%

T= time = 7 years

R= rate = 1% = (1/100) =0.01

Then substituting the given values into eqn (1)

I = (200× 0.01 × 7)

I =$14

Hence, she will her earn $14 of interest

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.

PLEEASE ANWER QUICK: The project manager is writing the requirements document. Which phase of the project life cycle is he in?
project closure
project planning
project initiation
project execution ​

Answers

Answer:

I think, project execution. He is writing the requirements document. which mean it doesn't project closure and initiation. then he did it which mean it doesn't project planning.

Using your reflective skills, write 4 sentences and consider the transferable skill you would like to further develop and how you plan to accomplish this goal.

Answers

Answer:

El desarrollo de la habilidad se produce cuando se inicia el proceso de ejercitación, o sea, se comienza a usar la habilidad recién formada en la cantidad necesaria y con una frecuencia adecuada, de modo que vaya haciéndose cada vez más fácil producir o usar determinados conocimientos y se eliminen errores.

Explanation:

When entering numbers that start with a zero, apply the _____ number format.
A. Text
B. Context
C. Zero
D. Zero decimal

Answers

Answer:

The Answer is gonna be D. Zero decimal

Circuit-switched networks provide connection between two parties that: Group of answer choices is dedicated for use by the parties for the duration of a connection. prioritizing voice calls over other connections on IP networks. repeatedly switches between an open and closed state depending on whether someone is speaking or other noise is being transmitted during a call. slicing up the conversation into smaller chunks and transmitting them over a shared circuit that mixes content with other callers but routes and reassembles a call to the correct recipient. uses a single router for each individual on either end of the connection.

Answers

Answer:

The answer is "The first choice"

Explanation:

The circuit switches are used to provide a network that connects among the two parties, which are dedicated for the use to the parties for the length of the connection. It is a familiar technique, that is used to create a network for communication, which is used on telecalls. It also enables the hardware and circuits to share among the users, and for every user, it has direct access to the circuit during the use of the network.

What is the path to add a Switchboard tab to the ribbon?

Go to the File tab, Options group, then Settings.
Go to the Home tab, Format group, then Add to Ribbon.
Go to the File tab, Options group, then Customize Ribbon.
Go to the Home tab, Records group, then Customize Ribbon.

Answers

Answer:

Go to the File tab, Options group, then Customize Ribbon.

Explanation:

Got it on E2020.

Which of these is a type of array .
( library , file , index , tulle )?

Answers

Answer:

index

Explanation:

i want to learn i am not sure

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!

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)

Item 3
Which of the following describes new technology development?

A harmless process

A somewhat assured process

A partially risky process

A very risky process

Answers

Answer:

A somewhat assured process

B. A somewhat assured process  is describes new technology development

What are the five phases in technology development process?

Five phases guide the new product development process for small businesses: idea generation, screening, concept development, product development and, finally, commercialization.

What is technology development process?

Technology Development Process, is a directed process at developing new knowledge, skills and artefacts that in turn facilitates platform development

To learn more about new technology development, refer

https://brainly.com/question/27090068

#SPJ2


If you break your arm and have to go to the emergency room, what type of insurance do you need?

Answers

health insurance because you have to see doctors about the health of your arm

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.

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;  

}  

How can users open a shared worksheet if they do not have Excel installed on a computer? visit Microsoft’s website use Office365’s home page open a PDF version for editing use Excel Online through the 365 portal

Answers

Answer:

use Excel Online through the 365 portal

Explanation:

just did it

Other Questions
WHY IS MARGOT ON VENUS? Which of the following aspects of the food-service industry are regulated?food carepersonnelequipment and utensilsall of the above What is the meaning of the word superfluous as used in the passage? 1. What is the m 2 in this parallelogram?a) 115b) 50C) 15d) 2( IF I CAN ANSWER BOTH PLS DO ) Find the area of the triangle. P(x)=x^3-3x^2-4x+12; x+2Using factor theorem I WILL GIVE THE BRAINLIEST TO WHOEVER CAN SOLVE THIS RIGHT NOW!!Central Park is shaped like a rectangle. Two diagonally-opposite corners of the park are located at (-8, 6) and (5, -4) on the coordinate plane.Which coordinate pairs are the locations of the other two corners? Why do you think Haymitch drinks so much? Check as many as apply.He wants to forget his past experiencesHe was in the Hunger GamesHis dad was an alcholicHe loves to cause troubleHe wants attention 3 % of Americans are vegans. If you ask a random person whether he or she is vegan, what is the probability that the person is NOT a vegan? What the correct answer for 1. And 2. Agree or Disagree: It's ok to be dishonest if it's for a good reason. Is the following statement a reasonable conclusion for readers to draw from the selection? Emperor Qin was concerned about life after death. Provide two details from the selection to support your answer. What are some featured species in the deep sea? Find the perimeter and area of the figure. Round your answer to the nearest hundredth, if necessary. Can you please help me I will give you 10 points if you do ANSWER FOR BRAINLIEST: The low temperatures for the last five days are: Low Temperatures: 62, 46, 50, 52, 55. Find the MEAN ABSOLUTE DEVIATION (MAD) of the temperatures On June 30, 20X4, Ank Corp. pre-paid a $19,000 premium on an annual insurance policy. The premium payment was a tax-deductible expense in Ank's 20X4 cash-basis tax return. The accrual-basis income statement will report a $9,500 insurance expense in 20X4 and 20X5. Ank elected early application of FASB Statement No. 109, Accounting for Income Taxes. Ank's income tax rate is 30% in 20X4 and 25% thereafter. In Ank's December 31, 20X4 balance sheet, what amount related to the insurance should be reported as a deferred income tax liability percent preventable.Noise-induced hearing loss isO a. 100O b. 50O c. 90d. 75O e. 25 If the girl skater has a mass of 30 kg and moves backward at 5 m/s, what is the velocity or the boy skaterhis mass is 50 kg? can someone pls help with the last one