Assignment-1
Assignment-1
Assignment-1
Ans
System.out.println(ans);
public class Ex
{
public static void main(String[] args)
{
System.out.print("My Name is: Ahmad ");
System.out.print("My ID is: 20901234 ");
} }
3. Filled up the Variable Name Table with the valid or invalid: 1 Marks
4. Write a Java program to accept the day from the user and display the following using
chained if-else statement. (1 Mark)