Skip to content

[Proposal] AddTwoNumber #223

@rnkraj05

Description

@rnkraj05

Request Issue

No response

Website Section

No response

Proposal Details

import java.util.Scanner;

class addtwono{
public static void main(String[] args) {
//Create a variable to enter two value
//Perform Operations
//display results

    Scanner sc = new Scanner(System.in);
    System.out.println("Enter two Numbers: ");
    double a = sc.nextDouble();
    double b = sc.nextDouble();
    System.out.println("sum is " + (a+b));
    sc.close();
}

}

Author References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions