how to find total number and its percentage in java || find the total number and percent

Опубликовано: 14 Май 2026
на канале: STUDY PATHSALA
91
6

hlw everyone
I am Lokesh. Welcome to our youtube channel"Mirganj Study" this video is help you to how to find total number and its percentage in java || find the total number and percent #java

About this video:
THIS IS OUR CODE
import java.util.Scanner;

public class Ques5 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("Enter the marks of math:");
double math = sc.nextDouble();
System.out.println("Enter the marks of english:");
double eng = sc.nextDouble();
System.out.println("Enter the marks of computer:");
double comp = sc.nextDouble();
double sum = math+eng+comp;
double percent = sum*100/300;
System.out.println("total marks of sum =" +sum);
System.out.println("total marks of percent =" +percent);
}
}



Queries Solved:




Let's start your preparation with Mirganj Study
Visit playlist of Chemistry:
Visit playlist of Maths:

Subscribe my channel #Mirganj_Study
If you guys support this channel then we will also provide Full tutorial videos of class 10th and 12th Maths,Physics and Chemistry.
And also upload Programming videos of C,C++,java,python and all other programming language with basics . AND also provide notes of all related videos on this channel.

Some other Social links:
Visit my