Last active
August 29, 2015 14:25
-
-
Save vietbuiminh/92f64858b553df0931ed to your computer and use it in GitHub Desktop.
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
public class Hello World { | |
public static void main(String[] args){ | |
System.out.println("Hello, World"); | |
} | |
} |
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
#include <stdio.h> | |
int main() { | |
int number[10]; | |
/*populate the array*/ | |
number[0] = 10; | |
number[1] = 20; | |
number[2] = 30; | |
number[3] = 40; | |
number[4] = 50; | |
number[5] = 60; | |
number[6] = 70; | |
/*print the 7 th number from the array, which has an index of 6*/ | |
prinf(The 7th number is the array is %d, number[6]); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment