Question: java code import java.lang.; import java. io.; y= - the function samegroupstudent takes particulargroup & studentGroup as its argument, where: particulargroup: represents the activity group
import java.lang."; import java. io."; y= - the function samegroupstudent takes particulargroup \& studentGroup as its argument, where: particulargroup: represents the activity group whose total students the principal wants to know. studentGroup: represents the group which are selected by the students. pubI public class Solution \{ public static void samegroupstudent(int particulargroup, int studentgroup) I // Write your code here II public static void main(string[] args) ( Scanner in = new Scanner(Systea. in); (1) input for particulargroup int particulargroup = in. nextint(); (1) input for studentaroup int studentGroup - in. nextint(); samegroupstudent (particularoroup, student(roup); 7 import java.lang."; import java. io."; y= - the function samegroupstudent takes particulargroup \& studentGroup as its argument, where: particulargroup: represents the activity group whose total students the principal wants to know. studentGroup: represents the group which are selected by the students. pubI public class Solution \{ public static void samegroupstudent(int particulargroup, int studentgroup) I // Write your code here II public static void main(string[] args) ( Scanner in = new Scanner(Systea. in); (1) input for particulargroup int particulargroup = in. nextint(); (1) input for studentaroup int studentGroup - in. nextint(); samegroupstudent (particularoroup, student(roup); 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
