+ 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!
3 odpowiedzi
+ 2
public class Ans{
public static void main(String[] args) {
System.out.println("Programmer");
}
}
+ 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();
}
}
+ 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;
}