Untitled

 avatar
unknown
plain_text
a year ago
464 B
4
Indexable
import java.util.Scanner;

public class fahim {
    public static void main (String[] args)
    {
        Scanner s;
        s = new Scanner(System.in);
        
        int a,b,c, sum;
        System.out.println("Enter 1st number");
        a= s.nextInt();
        b= s.nextInt();
        c= s.nextInt();
        sum= a+b+c;
        
        String x;
        x="the total sum is " +sum;
        System.out.println(x);
        
    }
    
}
Editor is loading...
Leave a Comment