Here's the complete Pseudocode to check number is even or odd. You can check from two methods whether the number is odd or even. Pseudocode to Check Whether Number is Odd or Even 1st Method: 0. Start 1. Print "Enter Any Number to Check, Even or Odd" 2. Read input of a number 3. If number mod = 0 4. Print "Number is Even" 5. Else 6. Print "Number is Odd" 7. End 2nd Method: 0. Start 1. Print "Enter Any Number to Check, Even or Odd" 2. Read input of a number 3. If number mod = 1 4. Print "Number is Odd" 5. Else 6. Print "Number is Even" 7. End Learn How to check even or odd in C language .
Here's an example, how you can create a mark sheet in C language. First, we'll take the marks of five subjects from the user to generate the mark sheet. These marks will be stored in a variable of the float data type. After that, we'll apply the formula to calculate the percentage and design a template for mark sheet. Marksheet in C Related: C Program for fibonacci serires. Calculator in C using functions (subroutines).
How this Program Work? Before starting we will be using a library of math.h, for mathematic operations. First, we'll take input the values of mass and velocity and store the input in the variables. Then, we will apply a condition, because mass can't be negative. After that, we'll apply the formula to calculate kinetic energy. Calculate Kinetic Energy in C Related: C Program to Calcualte Acceleration Calculate Speed in C C Program to Calculate Final Velocti y