This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.Console; | |
public class JavaTest { | |
public static void main(String[] args) { | |
Console console = System.console(); | |
String firstName; | |
do { | |
firstName = console.readLine("What is your name?\n"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Store the profile getting here | |
// Require libs | |
var http = require("http"); | |
// Define the printMessage function, self-explanatory | |
function printMessage(username, badgeCount, points) { | |
var message = username + " has " + badgeCount + " total badge(s) and " + points + " points in JavaScript"; | |
console.log(message); |
NewerOlder