Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions

Write a programme that counts from one to ten, print the value on a separate line for each and include a meaasge of youy choice when the count is 3 and a

different message when the count is 7?




This Is a Certified Answer

Certified answers contain reliable, trustworthy information vouched for by a hand-picked team of experts. Brainly has millions of high quality answers, all of them carefully moderated by our most trusted community members, but certified answers are the finest of the finest.
Import java.util.*;
class Choice
void main()
Scanner sn=new Scanner(System.in);
for(int i =1; i<=10; i++)
S.o.p("enter a message - ");
String s=sn.nextLine();
S.o.p("enter a message - ");
0 0 0
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts