• Login / Register
  • Articles
  • Universities
  • Jobs
  • Forum
  • IGNOU Assignments

  • IGNOU MCA Object Oriented Technologies and Java Programming MCS 024 Assignment 2018-2019
  • Solution - MCS 024 Question 1(a) - What is Object Oriented Programming?
  • MCS 024 Assignment 2018-19 question 3A Solution - IGNOU MCA
  • MCS 024 Assignment 2018-19 question 3B and 3C Solution
  • MCS 024 Assignment Question 4 Answer - IGNOU MCA
  • MCS 024 assignment Question 5 Solution
  • IGNOU MCS 024 solved assignment 2018-19 PDF
  • 2018-2019 IGNOU MCS 024 assignment question 1b solution
  • IGNOU MCS 024 question 1c solution - Write a program to explain use of Relational and Boolean operators in java.
  • IGNOU MCS 024 assignment 2018-19 question 2a solution
  • Solved MCS 024 assignment 2018-19 question 2B | IGNOU

IGNOU MCS 024 question 1c solution - Write a program to explain use of Relational and Boolean operators in java.

Written by Neha Dubey on Oct 01, 2018

Looking for IGNOU MCA MCS 024 assignment solved answer key of 2018-2019? Check out the solution of MCS 024 question 1c - Write a program to explain use of Relational and Boolean operators in java.

Objective

You will learn about the following in this guide / study material.

Answer of MCA MCS 024 1c question - Write a program to explain use of Relational and Boolean operators in java.

MCS 024 solved assignment 2018-19 Question 1c - Write a program to explain use of Relational and Boolean operators in java.

Relational Operators

Following are the various relational or comparison operators available in Java programming language.

  1. Greater than (>)
  2. Greater than or equal to (>=)
  3. Less than (<)
  4. Less than or equal to (<=)
  5. Equal to (==)
  6. Not equal to (!=)

Boolean operators of Java programming language

Following are the various boolean operators available in Java programming language.

  1. Conditional AND (&&)
  2. Conditional OR (||)
  3. Boolean NOT (!)
  4. Boolean AND (&)
  5. Boolean OR (|)
  6. Boolean XOR (^)

Java program to explain use of relational and boolean operators

[code]

//Sample java program to evaluate grading of student

public class grade

{

   public static void main(String args[])

   {

       int total=55;

       char grade;

      if(total<40)

          grade='F';

      else if(total >= 40 && total < 60)

                grade = 'S';

             else

                grade = 'T';

      System.out.println("Grade = "+grade);

    }

}

//End of the program

[/code]

Output of the program

Grade = S

So here was the fully solved IGNOU MCS 024 assignment 2018-19 question 1c.

Education4u >> IGNOU AssignmentsIGNOU MCS 024 question 1c solution - Write a program to explain use of Relational and Boolean operators in java.

Share on Facebook

PREVIOUS TOPIC
IGNOU MCS 024 solved assignment 2018-19 PDF




SSB Interview Tips.in

©Education4u.co.in