about | help | code help+videos | done | prefs |
makeInitialization
Make a program that writes a line of Java code. Given the name of the variable and its value, write an initialization of an int with that name and value. e.g. given the name "x" and the value "5", write "int x = 5;" makeInitialization("x", 5) → "int x = 5;" makeInitialization("y", 10) → "int y = 10;" makeInitialization("z", 13) → "int z = 13;" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 115 Post-solution available
Copyright Nick Parlante 2017 - privacy