Write an algorithm to print your name and phone number for class eight students
aishwaryash321:
I am writing this code in java
Answers
Answered by
0
class program
{
void main (String n, String pn)
{
System.out.println ("Your name is " + n);
System.out.println ("Your phone number is " + pn);
}
}
{
void main (String n, String pn)
{
System.out.println ("Your name is " + n);
System.out.println ("Your phone number is " + pn);
}
}
Similar questions