Question: Write the C code below and take snapshot of the output. Write comment next to every line what function the code does. (Don't worry
Write the C code below and take snapshot of the output. Write comment next to every line what function the code does. (Don't worry if you do not understand what is done exactly, do your best!) #include int main() { char your_name [15]; int your age, brother_age, difference; "); printf("Whats your name? scanf("%s", &your_name); printf("How old are you? "); scanf("%d", &your_age); printf("How old is your brother? (have a fictional brother if you don't have one!) scanf("%d", &brother age); difference = your_age-brother_age; printf("You are %d years old and your name is %s ", your_age, your_name); printf("You are %d years older than your brother ", difference); return(0); ");
Step by Step Solution
There are 3 Steps involved in it
include stdio h int main char yourname15 int yourage brotherage difference Prompt the ... View full answer
Get step-by-step solutions from verified subject matter experts
