+ 1
Write a program about percent of five subject
English 21 Hindi 24 Geography 25 history 30 March 23
1 Réponse
+ 1
public class Percentage
{
public static void main(String[] args) {
int Eng = 21,Hnd = 24,Geo = 25,Hst = 30,Math = 23;
float per = (Eng + Hnd + Geo + Hst + Math)/5;
System.out.println(per);
}
}