Computer Science, asked by donhacker857, 22 days ago

Write a program in Java to print your name,class,roll no and body temperature.?
NO SPAM

Answers

Answered by anindyaadhikari13
3

Solution.

Here comes the solution for the question.

public class Info{

   public static void main(String s[]){

       System.out.println("My name: <Write your name here>");

       System.out.println("My class: <Write your class here>");

       System.out.println("My roll number: <Write your roll number here>");

       System.out.println("My body temperature: <Write temperature here>");

   }

}

Write your name class roll and body temperature inside the print statement and you will get your desired output.

Attachments:

anindyaadhikari13: Thanks for the brainliest ^_^
Similar questions