+ 2

Who are you? Describe yourself in code.

Practice your coding skills by saying who you are through code. Come on and beat this challenge!

12th Dec 2016, 5:01 PM
Silas Junior
Silas Junior - avatar
3 ответов
+ 2
public class Ans{ public static void main(String[] args) { System.out.println("Programmer"); } }
12th Dec 2016, 5:05 PM
Alikhan Suleimen
Alikhan Suleimen - avatar
+ 1
package person; public class Me { Myself my = new Myself(); String name; int age; String ocupation; my.name = "Silas"; my.age = 16; my.ocupation = "Student"; static void PresentingMyself() { System.out.println("Name: "+this.name); System.out.println("Age: "+this.age); System.out.println("Ocupation: "+this.ocupation); } public static void main(String[] args) { PresentingMyself(); } }
12th Dec 2016, 5:15 PM
Silas Junior
Silas Junior - avatar
+ 1
#include <iostream> using namespace std; int main() { string n = "David"; int a = 23; double h = 1,69; string c = "white"; string o = "teacher"; cout << "Name: " + n << endl; cout << "Age: " + a << endl; cout << "Height: " + h << endl; cout << "Color: " + c << endl; cout << "Occupation: " + o << endl; return 0; }
13th Dec 2016, 6:40 PM
David Warden
David Warden - avatar