JAVA PROGRAM (please write the full program in the answer)
Jamie and leo are classmates who just started learning numbers. they both decided to play a game with what they learnt. jamie will start saying number 1 and leo should say 2 and again jamie says 3.in the same manner both will alternatively spell the consecutive number. but if number 5 or a multiple of five comes, they should say "bus/bus/ bus" instead of the number as per the sample output. write a java program to display the numbers and word they spell.
(PLEASE DONT WRITE UNNECESSARY ANSWERS FOR POINTS)
Answers
Answered by
19
Java is a powerful general-purpose programming language. It is used to develop desktop and mobile applications, big data processing, embedded systems, and so on. According to Oracle, the company that owns Java, Java runs on 3 billion devices worldwide, which makes Java one of the most popular programming languages.
Answered by
1
Answer:
Java is a powerful general-purpose programming language. It is used to develop desktop and mobile applications, big data processing, embedded systems, and so on. According to Oracle, the company that owns Java, Java runs on 3 billion devices worldwide, which makes Java one of the most popular programming languages.
Similar questions