Write algorithm and a Java program for the following :-
1- Print,”welcome to the world of computer”.
2- Finding the sum of two numbers.
Answers
Answered by
1
JAVA program:
1)
public class Welcome
{
public static void main(String argr[])
{
System.out.println ("Welcome To The World Of Computer");
}
}
2)
public class Sum
{
public static void main(String args[])
{
int a=25;
int b=30;
int c=a+b;
System.out.println ("c")
}
}
Similar questions
English,
7 months ago
Social Sciences,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago