Write a program to print your Name, Class, Roll_No, Marks and Age. Name this file, 'MyProfile'.
220 Likes
public class MyProfile { public static void main(String args[]) { System.out.println("Name: Sneha Nayak"); System.out.println("Class: 8C"); System.out.println("Roll No: 24"); System.out.println("Marks: 87"); System.out.println("Age: 15"); } }
Answered By
93 Likes
Write a program to find the sum and average of three numbers.
Write a program to interchange the value of two numbers without using the third variable.
Write a program to print, "Welcome to the World of Computers".
Write a program to print your School name four times in separate lines.