Java Bangla Tutorials 30 : Assignment 8 | logical AND operator

preview_player
Показать описание
➡️ In this video, I will share the eigth java assignment. Complete the assignment as soon as possible.
⭐️ Video Contents ⭐️
⌨️ (00:00) Intro
⌨️ (00:11) Assignment 8
⌨️ (03:35) outro

🛑 Web development? Checkout following playlists :

🛑 Programming languages? Check out the following playlists:

🛑 Android development? Check out the following playlists:

🛑 HSC Students? Are you worried about ICT? I have created 377 videos for you. check out the following playlists-

🛑 CSE Students? Checkout following playlists :

🛑 MS Office? Trying to learn MS office to improve your skill? Checkout following playlists :

#java #anisul_islam #java_bangla_tutorial #web_development #bangla_web_development #andorid #javaprogramming #javatutorial #bangla_tutorial #java_anisul_islam
Рекомендации по теме
Комментарии
Автор

Assignment-8
package basicjava;
import java.util.Scanner;
public class Assignment8 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
char ch1, ch2;
System.out.print("Are you fluent in English (Y/y/N/n):");
ch1=input.next().charAt(0);
System.out.print("Have you Passed Masters (Y/y/N/n):");
ch2=input.next().charAt(0);
if((ch1=='Y'||ch1=='y') &&(ch2=='Y'||ch2=='y'))
You are elligible for the job interview.");
else
System.out.println("Sorry! You are not eligible for the job interview");
}
}

mdshamsulalammomin
Автор

Assignment 08:

import java.util.Objects;
import java.util.Scanner;

public class Practice {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);

char ask1, ask2;
System.out.println("have you completed your masters?");
ask1 = input.nextLine().charAt(0);

System.out.println("are you fluent in English?");
ask2 = input.nextLine().charAt(0);

if (ask1 == 'y' && ask2 == 'y' || ask1 == 'Y' && ask2 == 'Y') {
System.out.println("you are eligible to for the job interview");

} else if (ask1 == 'n' && ask2 == 'n' || ask1 == 'N' && ask2 == 'N') {
System.out.println("Sorry. you are not eligible to for the job interview");
} else {

}



}
}

Thank You, Sir

tanvirshakil_yt
Автор

package Assignment_8;

import java.util.Scanner;

public class assignment_8 {

public static void main(String[] args) {

Scanner input = new Scanner(System.in);

char ch1, ch2;

System.out.print("have you completed your masters (Choose y/n)" + ":");
ch1 = input.next().charAt(0);
System.out.print("are you fluent in english (choose y/n)" + ":");
ch2 = input.next().charAt(0);

if (ch1 == 'y' && ch2 == 'y') {
System.out.println("you are the eligible candidate");
} else {
System.out.println("you are not eligible to for the job interview");
}

}

}

miadhossen
Автор

package javaapplication5;

import java.util.Scanner;

public class Assigenment_8 {

public static void main(String [] args){

Scanner input=new Scanner(System.in);

char Masters, English;

System.out.print("Have you completed Masters ? Yes or Not = ");



System.out.print("Can you fluent in english speaking ? Yes or Not = ");



if(Masters=='Y' && English=='Y'){

System.out.println("Eligible for this Job you ");

}

else if(Masters=='Y' && English=='N' ){

System.out.println("please strong the fluent english .Than apply for this job ");
}

else if( Masters=='N' && English=='Y'){

System.out.println("please develop the skills .Than apply for this job ");
}

else{

System.out.println("You are a not eligible for this job ");

}

}
}



OUTPUT

Have you completed Masters ? Yes or Not = Y
Can you fluent in english speaking ? Yes or Not = Y
Eligible for this Job you

Have you completed Masters ? Yes or Not = Y
Can you fluent in english speaking ? Yes or Not = N
please strong the fluent english .Than apply for this job

Have you completed Masters ? Yes or Not = N
Can you fluent in english speaking ? Yes or Not = Y
please develop the skills .Than apply for this job

Have you completed Masters ? Yes or Not = N
Can you fluent in english speaking ? Yes or Not = N
You are a not eligible for this job

classicfolksong
Автор

Assignment 8:
import java.util.Scanner;
public class Interview {
public static void main (String[]args){
Scanner sc=new Scanner(System.in);
System.out.print("Have you completed your masters? (y/n)\n Ans : ");
char ch = sc.next().charAt(0);

System.out.print("Are you fluent in English ? (y/n)\n Ans : ");
char chh = sc.next().charAt(0);

if(ch=='y' && chh=='y'){
System.out.println("You are eligible for the job interview .");
}
else{
System.out.println("You are not eligible for the job interview");
}
sc.close();
}}

পান্তাবুড়ি
Автор

Assignment 8 Done:
package javaapplication1;
import java.util.Scanner;
public class Assignment8 {
public static void main(String[] args) {
Scanner input = new Scanner (System.in);
char answer1, answer2;
System.out.print("Have you completed your masters? Y or N : ");
answer1= input.next().charAt(0);
System.out.print("Are you fulent in English? Y or N ");

if (answer1=='Y' || answer1=='y' && answer2=='y' ||answer2=='Y'){
System.out.println( "\"Congratulations\" \nYou are eligible to for the job interview");
}
else if(answer1=='n'||answer1=='N' && answer2=='n' ||answer2=='N'){
System.out.println("Your are not eligible to for the job interview");
}
else{
System.out.println("\"SORRY\" \nYou are not eligible to for the job interview");
}
}

}

DinIslam-zfwi
Автор

package Assignment8;
import java.util.Scanner;
public class Assignment8 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
char ch, ch1;
System.out.println("Have You Completed Your Masters:");
ch=input.next().charAt(0);
System.out.println("Are you fluent in english:");
ch1=input.next().charAt(0);
if(ch=='Y' || ch=='y' && ch1=='Y' || ch1=='y'){
You are eligble for this Job Application");
}
else if(ch=='N' || ch=='n' && ch1=='N' || ch1=='n'){
System.out.println("Sorry! You are Not Passed yet for this Job Application");
}
else{
System.out.println("Sorry!You are Not eligble for this Job Application");
}
}

}

codewithrabi
Автор

Assignment8:

import java.util.Scanner;
public class Assignment8 {
public static void main(String[]args) {
Scanner input=new Scanner(System.in);
char ch, bh;
System.out.println("have you completed your masters?");
ch=input.next().charAt(0);
System.out.println("are you fulent in English?");
ch=input.next().charAt(0);

if(ch=='y'&& ch=='y') {
System.out.println("you are eligible to for the job interview");
}
else {
System.out.println("you are not eligible to for the job interview");

}
input.close();
}
}

mdmahmadulhasan
Автор

Assignment 8 (DONE)

package trial;
import java.util.Scanner;

public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);

System.out.print("have you completed your masters?(y/n): ");
char ms = s.next().charAt(0);
System.out.print("are you fulent in English?(y/n): ");
char eng = s.next().charAt(0);

if(ms =='y'&&eng=='y'){
System.out.println("you are eligible to for the job interview");
}
else{
System.out.println("Sorry. you are not eligible to for the job interview");
}
}

}

higurudematsu
Автор

public class Assignment7 {


public static void main(String [] args) {

Scanner input = new Scanner (System.in);

System.out.print("Do you love java? ");
char ch = input.next().charAt(0);


if(ch == 'Y' || ch == 'y') {
System.out.println("You are a java lover.");
}
else if(ch == 'N' || ch == 'n') {
System.out.println("You aren't a java lover.");
}
else {
input.");
}
input.close();
}

}

ahaduzzamanahaduzzaman
Автор

ASSIGNMENT 08

package basicjavaa;

import java.util.Scanner;

public class Assignment8 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
char ch1, ch2;
System.out.println("Have you completed your masters?(y/n)");
ch1 = input.next().charAt(0);

System.out.println("Are you fluent in English?(y/n)");
ch2 = input.next().charAt(0);

if(ch1 == 'y' && ch2 == 'y'){
System.out.println("You are eligible for the job interview");
}
else {
System.out.println("Sorry.You are not eligible for the job interview!");
}
}

}

adrian_abirr
Автор

Assignment 8---

import java.util.Scanner;
public class assignment_8 {
public static void main(String[] args) {

Scanner input = new Scanner(System.in);

char CM, FE;

System.out.print("have you completed your masters? ");
CM = input.next().charAt(0);
System.out.print("are you fulent in English? ");
FE = input.next().charAt(0);

if(CM=='y' && FE=='y')
{
System.out.println("you are eligible to for the job interview");
}
else if(CM=='n' && FE=='n')
{
System.out.println("you are not eligible to for the job interview");
}
else if(CM=='y' && FE=='n')
{
System.out.println("you are not eligible to for the job interview");
}
else if(CM=='n' && FE=='y')
{
System.out.println("you are not eligible to for the job interview");
}
else
{
System.out.println("Wrong typing (plz type y/n or yes/no)");
}
}

}

adrikhasanador
Автор

public class Assignment8 {

public static void main(String[] args) {

Scanner input = new Scanner(System.in);

char question1, question2;

System.out.print("Have you completed your masters? Y/N: ");
question1 = input.next().charAt(0);
System.out.print("Are you fulent in English? Y/N: ");
question2 = input.next().charAt(0);

if (question1=='Y' && question2=='Y' || question1=='y' && question2=='y'|| question1=='Y' && question2=='y' || question1=='y' && question2=='Y' ) {

System.out.println("Has passed masters and also have fulent English in skill than");

} else{

System.out.println("Sorry.you are not eligible to for the job interview");
}


}

}

armanahmedrana
Автор

Assignment-8
import java.util.Scanner;
public class eligibility{
public static void main(String[] args){

Scanner input = new Scanner(System.in);
char ans1, ans2;

System.out.print("have you completed you masters?: ");
ans1 = input.next().charAt(0);

System.out.print("are you fluent in English?: ");
ans2 = input.next().charAt(0);

if(ans1=='y'&& ans2=='y'){
System.out.print("you are eligible for the job interview");
}
else if(ans1=='n' && ans2=='y'){
System.out.print("you are not eligible for the job interview");
}
else if(ans1=='y'&& ans2=='n'){
System.out.print("you are not eligible for the job interview");
}
else{
System.out.print("you are not eligible for the job interview");
}
}
}

okoxinfinite
Автор

Assignment- 8:

package datatype.mainproject;
import java.util.Scanner;

public class Assignment8 {
static public void main(String[] args){
Scanner input = new Scanner (System.in);

char M, E;

System.out.print("have you completed your masters? y/n =");
M = input.next().charAt(0);

System.out.print("Are you fulent in English? y/n =");
E = input.next().charAt(0);

if(M=='y' && E=='y'){
You are eligible to for the job interview");
}else{
System.out.print("Sorry. you are not eligible to for the job interview");
}

}
}

Amin-Babu
Автор

Assalamualaikum sir,
assignment 8


package beginerjava;

import java.util.Scanner;


public class Assignment8 {
public static void main(String[] args) {
Scanner input=new Scanner(System.in);
char master, fluent;

System.out.print("Are you completed your masters?press y/n :");


System.out.print("Are you fluent in english?press y/n :");


if(master=='y' && fluent=='y'){
System.out.println("You are eligible for work");
}
else {
System.out.println("You are not eligible");
}
}

}

MasudRana-ufkj
Автор

package assignment_8;
import java.util.Scanner;

public class Assignment8 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
char cr1, cr2;

System.out.print("Have you completed your masters?: ");
cr1 = input.next().charAt(0);
System.out.print("are you fulent in English?: ");
cr2 = input.next().charAt(0);

if(cr1=='y' && cr2=='y' || cr1=='Y' && cr2=='Y') {
System.out.println("You are eligible to for the job interview.");
}
else{
System.out.println("Sorry. you are not eligible to for the job interview.");
}
}
}

technologytips
Автор

package assinment08;

import java.util.Scanner;

public class LogicalAnd {

public static void main(String[] args) {

Scanner input = new Scanner(System.in);
char answer1, answer2;
System.out.print("Have you completed your masters? Y/N :");
answer1 = input.next().charAt(0);
System.out.print("Are you fulent in english? Y/N :");
answer2 = input.next().charAt(0);

if (answer1 == 'Y' || answer1 == 'y' && answer2 == 'Y' || answer2 == 'y') {
\n You are eligible to for the job interview");
} else if (answer1 == 'N' || answer1 == 'n' && answer2 == 'N' || answer2 == 'n') {
System.out.println("You not are eligible to for the job interview");

} else {
System.out.println("\"Sorry\" \n You are eligible to for the job interview");
}

}

}

mahmudurrahmansany
Автор

Assignment 8
import java.util.Scanner;

public class Assignment8 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
char Q1, Q2;
System.out.print("Have you completed masters : ");
Q1 = input.next().charAt(0);
System.out.print("Are u fluent in english : ");
Q2 =input.next().charAt(0);
if(Q1=='y' && Q2=='y')
{
System.out.println("You are eligible to for the job interview");
}
else if(Q1=='n' && Q2=='n')
{
System.out.println("Sorry! You are not eligible for the job interview. ");
}
else
{
System.out.println("Sorry! You are not eligible for the job interview.");
}
}

}

Shah-Alam
Автор

Thanks sir to give us opportunity to learn Programming in easy way💗💗

Assignment -- 8


package com.mycompany.mavenproject1;

import java.util.Scanner;

public class Assignment8 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
char masters, english ;
System.out.print("Have you completed your masters? : ");
masters = input.next().charAt(0);
System.out.print("Are you fulent in English? : ");
english = input.next().charAt(0);

if (masters == 'y'&& english=='y'){
System.out.print(" You are eligible for the job interview !");
} else if (!(masters == 'n'&& english=='n' )){
System.out.print("Sorry. you are not eligible for the job interview ");
}

}

}

MD-Rafique
visit shbcf.ru