Yes, people have the potential to be born as leaders. Several factors can influence one's potential to become a leader, such as their upbringing, educational opportunities, and natural traits. For instance, some people may be naturally more confident and have a strong presence that naturally attracts others. Others may be more naturally analytical or have a knack for problem-solving. In addition, the amount of education people receive, their level of self-awareness, and their ability to be self-motivated are all important factors in determining whether someone has the potential to become a leader.
import java.util.Scanner;
ReplyDeletepublic class operators {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("enter the operation");
Scanner sc = new Scanner(System.in);
String op=sc.nextLine();
System.out.println("enter the first number");
Scanner sc1=new Scanner(System.in);
int n1= sc1.nextInt();
System.out.println("enter the second number");
Scanner sc2 = new Scanner(System.in);
int n2= sc2.nextInt();
switch(op)
{case "+" :
int a=n1+n2;
System.out.println(a);
break;
case "-" :
int b=n1-n2;
System.out.println(b);
break;
case "*" :
int c = n1*n2;
System.out.println(c);
break;
case "/" :
int d= n1/n2;
System.out.println(d);
break;
}
}
}
https://www.myamcat.com/amcat-syllabus
ReplyDelete