Created
May 27, 2021 13:44
-
-
Save MrRahulR/737c9035181c13fc137481315badedb1 to your computer and use it in GitHub Desktop.
AssignmentOperators.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.qacaffe; | |
import java.util.Scanner; | |
public class AssignmentOperators { | |
public static void main(String[] args) { | |
int number = 10; | |
long contactNo = 12313424; | |
String name = "Rutu Shah"; | |
double average = 77.8; | |
System.out.println("Number = " + number); | |
System.out.println("Contact No = " + contactNo); | |
System.out.println("Name = " + name); | |
System.out.println("Average = " + average); | |
} | |
} | |
/* | |
Output - | |
Number = 10 | |
Contact No = 12313424 | |
Name = Rutu Shah | |
Average = 77.8 | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment