Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

using only #include <stdio.h> write a program in C You work for a cable company

ID: 3663513 • Letter: U

Question

using only #include <stdio.h> write a program in C

You work for a cable company and are designing a software system to automate the customer service system. Your system is archaic, so you can only read in the inputs 1 through 4, 'y' n' and 'q' from your user (the current customer) When your program begins, display the following menu to the user: [prompt]$ ./customer_experience Welcome to CableCom! Please make a choice from the following options: 1) Change your password 2) Cancel your service 3) Schedule a service call 4) Pay your bill For simplicity (to avoid this bug) assume the user always enters a number. If the user enters an incorrect number at the start of the program, print Please enter a numberbetween 1 and 4. and use scanf to obtain another input. WARNING: On the CSIF computers, if you type 3 and then hit enter, there are actually two inputs in the stdin buffer, not one. The buffer contains the character3, and the characterin, (a newline). You must call getchar to clear the buffer.

Explanation / Answer

2.

3.

4. #include<stdio.h>
#include<conio.h>
void main()
{
float net_bill;
clrscr();
printf(" Enter amount to be paid:");
scanf("%f”,&net_ bill);
printf(" The NET BILL is:%f");
getch();
}