Program:
package munim3;
public class fabrics {
public static void main(String args[]){
int student,teacher;
student=50;
teacher=10;
if(teacher<student){
System.out.println("teacher can teach every students");
}
else{
System.out.println("teaacher can not teach the students");
}
}
}
package munim3;
public class fabrics {
public static void main(String args[]){
int student,teacher;
student=50;
teacher=10;
if(teacher<student){
System.out.println("teacher can teach every students");
}
else{
System.out.println("teaacher can not teach the students");
}
}
}
Screenshots
Output
No comments:
Post a Comment