Question: Please help with all parts for upvote. I will upvote if helped with all parts. I have attatched my code for number 1. It compiles,

Please help with all parts for upvote. I will upvote if helped with all parts.
I have attatched my code for number 1. It compiles, but does not print in correct order. Please help this is due today.
Please help with all parts for upvote. I will upvote if helped
with all parts. I have attatched my code for number 1. It

Purpose: Learn how to get input and print out formatted results using scanf and printf separately in C. Part 1: 1) Write a C program getPhoneNumber. C that accepts a phone number (XXX)XXXXXXX: Enter a date (xxxxxxxxxx):0111234567 You entered (011)1234567 Question: Execute your getPhoneNumber.c and attach a screenshot of the output. Then write the source code of getPhoneNumber.c in your answer sheet and upload your file getPhoneNumber c to iCollege. 2) Suppose that we call scanf as follows: scanf ("gffodsf", 8x,&1,y); Question: If the user enters 12.15.65789 What will be the values of 1,x and y after the call? (Assume that x and y are f1 oat variables and i is an int variable.) And explain why? Put your answer in the answer sheet. 3) Suppose that we call scanf as follows: scanf ("zdzfod", 81,8x,8j); Question: If the user enters 10.286 What will be the values of i,x and j after the call? (Assume that i and j are int variables and x is a float variable.) And explain why? Put your answer in the answer sheet. sintman()i chaz phoneNumber [13]; scanf ( " 89, phoneNumber) printr ( Weu ensered (fototo) Totote-totetotoln", phonekumber [0], phonekumber [ ], phoneNumber [ ], phoneNumber [5], phoneNumber [6], phoneNumber [0], phoneNumber [91, phoneNumber [10], phonelumber ([1]); return

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!