Define the function isEven which returns True, if a given number is even and returns False, if the number is odd. Execute the statement isEven(43) and display the output.

Answers

Answer 1
Answer:

Answer:

Program :

#include <stdio.h> //header file

char* isEven(int number) //function

{

   if(number%2==0)

    return "True";

  else

   return "False";

}

int main() //mainfunction

{

   printf("%s",isEven(43)); //calling and display output.

   return 0; //return statement.

}

Output:

  • The above program gives as 45 output.

Explanation:

  • The above program is in c-language, The above function is used to check the number is even or odd.
  • If the number is even it returns true and if the number is odd, it returns false.
  • The print statement called that function while passing the number on the argument and print the result of the function.
  • The char* is used in return type because the function returns the string value.

Related Questions

Which option did you choose? Boxing? A different sport? Why did you choose it
_ is the adherence to a personal code of principles.EthicsMoralityIntegrityHonestySection B
create a Java program that prompt the user to enter a number of hours, wages, over time factor, then your program should calculate the employee total wages. Make sure your program can calculate the over time and regular wages if number of hours are great than 40 hours. Use 1.5 for over time factor. Make sure your Java code has comments showing declarations and description of your variables.
A computer processor stores numbers using a base of: _____.a) 2b) 10c) 8d) 16
Repeat Programming Project 5 but in addition ask the user if he or she is a. Sedentary b. Somewhat active (exercise occasionally) c. Active (exercise 3–4 days per week) d. Highly active (exercise every day) If the user answers "Sedentary," then increase the calculated BMR by 20 percent. If the user answers "Somewhat active," then increase the calculated BMR by 30 percent. If the user answers "Active," then increase the calculated BMR by 40 percent. Finally, if the user answers "Highly active," then increase the calculated BMR by 50 percent. Output the number of chocolate bars based on the new BMR value.

Once a device has failed, what metric measures the average amount of time to repair?a.
mean field replacement time (MFRT)
b.
mean time to repair (MTTR)
c.
mean time to restore (MTTR)
d.
mean restoration time (MRT)

Answers

Answer:b) Mean time to repair (MTTR)

Explanation:- Mean time to repair (MTTR) is the average time that is defined for the repairing of the of any failure or damage that has occurred.  Mean time to repair gives idea about the maintenance of the elements that can be repaired. It holds the responsibility of the reverting about the repair speed of the item. Therefore, the correct option is option(b).

Which vendor did IBM select to create the operating system for the IBM PC?

Answers

The Answer Is: "Microsoft".

What is time-slice? How is the end of the time slice indicated?

Answers

Time-slice is a part of the preemptive process - a scheduling algorithm that will return from the running state to the ready state in a system that can favor another process in the meantime (in order to satisfy the scheduling policy's priority constraint!!!!).

Time- slice is that period of time in which a process is allowed to run in a preemptive multitasking system. The end of one is indicted by the occurrence of a signal called.

PLEASE HELP!!!For this activity, you will create two designs for the same project. For example, you might choose to create a CD cover for your favorite band’s newest release, or you might want to design a menu for the local deli. No matter what you decide for your subject matter, the two designs must involve different media. One of these media will be an image-editing program, such as Inkscape. You will learn more about the basic tools available in Inkscape later in this lesson. The two designs should incorporate different techniques. For example, you might make one design abstract, while making the other more realistic. Be sure to save both of your designs. Scan or take a picture of the design that wasn’t created in an image-editing program. You will submit this item later in this lesson as your portfolio item. Select the link to access the Techniques Activity Rubric.

Answers

Answer:

I'm not exactly sure on what the question is, but from reading it, I determined that you'll be creating 2 different designs using Inkscape/Photoshop. I'm leaving 2 of my designs in here for you to use on your project. Unknown on what to do about the design that wasn't created in an image-editing program.

A teacher at your school is using her district issued laptop to create spreadsheets for her part-time job as a bookkeeper. Which standard, if any, is this teacher violating?

Answers

The teacher is violating the Standard 1.2 in the education section.

What did the Standard 1.2 states?

The standard states that any educator shall not knowingly misappropriate or use monies, personnel, property, or equipment committed to his or her charger for personal gain or advantage.

Hence, because of this, the teacher has violated the Standard 1.2 in the education section.

Read more about Standard 1.2

brainly.com/question/17277092

#SPJ2

Answer:

The teacher is most likely violating the District Use Policy.

codes with three characters are included in the icd-10-cm as the heading of a of codes that may be further subdivided by the use of 4th, 5th, or 6th characters, which provide greater detail.

Answers

The icd-10-cm includes codes with three characters as the header of a group of codes that may be further split by the use of four, five, or six characters; this is known as the level of detailing in coding.

What does coding actually mean?

Describe coding. Coding, often known as computer programming, is how we communicate with computers. Because coding gives instructions to a machine, it is comparable to writing a set of rules. By learning to write code, you can tell machines much more quickly what to do or how to act.

What three forms of coding are there?

Languages written in an imperative, functional, logical, or object-oriented style are common. These coding language paradigms are available for programmers to select from in order to best meet their demands for a given project.

To know more about coding visit:

brainly.com/question/17204194

#SPJ4