1. Demonstrate the use of query_posts command.  Show post titles of posts written by administrators only and ignore any posts written by any other author.
  2. This code was intended to show results. Is it showing results? if not, make it show results and tell how you fixed it. You can add more code if you need
function get_posts_assignment(){
	//get posts demo
	
	$args = array(
		'post_type'        => 'boat',
		'post_status'      => 'publish',
		
	);
	
	$mybooks = get_posts($args);
	
	
	foreach($mybooks as $book){
		echo "<div>". $book->post_title . "</div>";
		echo "<div>". $book->post_content . "</div>";
	}
	
	while (have_posts()){
		the_post();
		the_title();
		the_content();
	}
	
	
}