Google c++ tutorial. Cplusplus and Tutorials Point both have some good resources
```
#!/usr/local/bin/python3
import sys
def print_factorial( user_val ):
if( user_val < 1 ):
return( 1 )
else:
return( print_factorial( user_val - 1 ) * user_val )
if( __name__ == "__main__" ):
if( len( sys.argv ) == 2 ):
print( print_factorial( int ( sys.argv[ 1 ] ) ) )
else:
sys.stderr.write( "usage: %s <integer>\n" % sys.argv[ 0 ] )
exit( 0 )
```
Answer:
char firstLeter = name.charAt(0);
Explanation:
Consider the program below:
public class num2 {
public static void main(String[] args) {
String name = "Smith";
char firstLetter = name.charAt(0);
System.out.println(firstLetter);
}
}
In this program, A string name is defined and assigned the value "Smith".
Java's String method charAt() is called and passed the argument of index 0. This causes it to output the character S. Since this is the first letter in the String is at index 0.
Answer:
image editing, text om screen, weather graphics, animation, sattelites ... a lot more possibilites are endless just limited