Computer Science, asked by bhan61, 1 year ago

Write a program to print I feel \awesome\ in java programming

Answers

Answered by horsie
7
public class Mood
{
public static void main ();
{
string = I feel \awesome\ ;
System.out.println("I feel\
awesome\ ")
}
}

horsie: sorry ask the question again
horsie: is it OK now
bhan61: I feel \awesome\ -this should be printed
horsie: OK now
bhan61: Thank you so much
horsie: plz mark as brainliest
bhan61: but the program u sent me have lots of errors
horsie: Amish is still answering
bhan61: ok
bhan61: is he answering
Answered by vishakasaxenasl
1

Answer:

Following Java program will print the given statement:

public class example{

public static void main(Stirng args[])

{

System.out.println("I feel \\awesome\\ ");

}

}

Explanation:

  • First we create a public class named example.
  • Then we write our main method in it that shows the beginning of the execution
  • In the main function, we have used the println method to print the given string "I feel \\awesome\\"

#SPJ3

Similar questions