Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since:
Apr 2017
Last Sign in:
103 Weeks Ago, 3 Days Ago
Questions Answered:
4870
Tutorials Posted:
4863
Education
MBA IT, Mater in Science and Technology
Devry Jul-1996 - Jul-2000
Experience
Professor
Devry University Mar-2010 - Oct-2016
Category > ProgrammingPosted 25 May 2017My Price8.00
1313 Mockingbird Lane
Write a single statement that reads an entire line from stdin. Assign streetAddress with the user input. Ex: If a user enters "1313 Mockingbird Lane", program outputs:
You entered: 1313 Mockingbird Lane
Â
#include <stdio.h>
int main(void) {
  Â
const int ADDRESS_SIZE_LIMIT = 50;
 Â
 char streetAddress[ADDRESS_SIZE_LIMIT];
   printf("Enter street address: ");
   /* Your solution goes here  */
   printf("You entered: %s", streetAddress);