+ 1

Pls how do write a recipe of anything in java

Confused

29th Aug 2018, 7:55 PM
Temiloluwa Odunuga
Temiloluwa Odunuga - avatar
5 Antworten
+ 1
Can you elaborate on what you're trying to accomplish? I'll be more than happy to help you out Temiloluwa.
29th Aug 2018, 7:57 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 1
Yes how do I write it
30th Aug 2018, 8:02 PM
Temiloluwa Odunuga
Temiloluwa Odunuga - avatar
+ 1
Sorry about the delay. I've been super busy. You can accomplish this with simple print statements. https://code.sololearn.com/cnjsojUa1L4y/#java public class Program { // custom function to simplify System.out.print public static void print(String str) { System.out.print(str); } // custom function to simplify System.out.println public static void println(String str) { System.out.println(str); } public static void main(String[] args) { println("---[ Cooking Rice ]---"); println("1. Bring water to a boil."); println("2. Rinse the rice."); println("3. Add rice to boiling water."); println("4. Add salt. (5kg)"); println("5. Check tenderness of rice."); println("6. If soft, the rice is done."); println("----------------------"); } }
31st Aug 2018, 3:07 PM
Fata1 Err0r
Fata1 Err0r - avatar
0
Like how to cook rice writing it in Java language
29th Aug 2018, 7:58 PM
Temiloluwa Odunuga
Temiloluwa Odunuga - avatar
0
that explaination made everything a bit more confusing honestly... Do you want your java program to output rice recipe?
29th Aug 2018, 8:30 PM
Data
Data - avatar