109 Answered Questions for the topic c programming

C Programming

05/18/21

computer science

Write a function to output patient information that are stored in a file. One of the parameters of the function must be no. of patients to output and another one the name of the file where the... more
C Programming

05/18/21

computer science

Write a function to input patient information and store it in a file. One of the parameters of the function must be no. of patients to input and another one the name of the file to store the... more
C Programming

05/18/21

computer science

Design a structure that keeps basic patient information. Think about what type of information may be needed about them so that the work of doctors will be easy. Hospital can accommodate maximum 100... more

04/25/21

C Programming Language. Please write the two programs in C. 

C Programming Language. Please write the two programs in C. DigitsWrite this program in a file named digits.c.As input, you will define a quad word integer variable named input in the initialized... more

Digits and height. You will write two complete programs in x64 assembly.

You will write two complete programs in x64 assembly. In order to put off a discussion of how to use the operating system (which is necessary for interacting with the console), your programs will... more

Simulate a selective repeat flow control mechanism using client server socket programing

can use any programming language of choice.

Write a client server program using sockets.

In server a list of random thoughts are stored. Client request for a random thought. Using a random number, pick a random thought and post it to the client side. (use c, c++ or python as... more

04/13/21

Compilation is normally encapsulated so that all of the necessary steps happen behind the scenes. Type the following C code into a file named count.c.

CompilationCompilation is normally encapsulated so that all of the necessary steps happen behind the scenes. Type the following C code into a file named count.c.#include <stdio.h>#include... more

02/08/21

Matrix Multiplication in C programming

Given an n x k matrix A and an k x m matrix B, with 1≤n,m,k≤300, write a C program that computes the matrix product C=AB. All entries in matrices A and B are integers with abolute value less than... more
C Programming

02/07/21

Recursive Function in C programming language

Explain concept of recursive function using example to find factorial of given positive integer
C Programming

02/04/21

C Hash Function Error

What's wrong with the following hash function?int hash(char key[], int *listSize){ int i, sum; for (i = 0; i < strlen(key); i++) { sum += key[i]; } sum = summ /... more

please someone explain what this code do :

void bin(int x, int value){ if(x == 0) return; bin(x / 2, value - 1); if(x % 2) printf("%d ", value);}int Pow(int a, int b){ int d = 1; for(int i = 1; i <= b; i++) d *= a; return d;}int... more

please explain how this function in C code turn numbers in binary :

void bin(int x, int value) { if(x == 0) return; bin(x / 2, value - 1); if(x % 2) printf("%d ", value); }

please explain how this function in C code turn numbers in binary :

void bin(int x, int value) { if(x == 0) return; bin(x / 2, value - 1); if(x % 2) printf("%d ", value); }

02/01/21

C programming test help. please

file:///C:/Users/kamau/Downloads/Test1RealTestSpring21cop3223.pdfPlease help me solve for the outputs of these codesAnd for the word problem on page 4

C programming test help please

file:///C:/Users/kamau/Downloads/Test1RealTestSpring21cop3223.pdfPlease help me with solving this test Thank you

01/28/21

Help with c homework please

http://www.cs.ucf.edu/courses/cop3223/spr2021/section2/cop3223sp21ass1.pdfI need help with coding Problem A, B, and CB and C are if-then-else statements/constructs
C Programming

01/27/21

C programming output

Output? What would happen if we call the following function?printf(“ %d ”, funD(pList));//pList: 20 40 50 10int funD( NODE *pList ){ NODE **ptr; ptr = &pList; while ( *ptr ) { ... more
C Programming

01/27/21

C programming (output error etc)

output? What happens if we call function?printf(“ %d ”, funC(pList));//pList: 20 40 50 10int funC( NODE *pList ){ NODE *p1; NODE *p2; p2 = NULL; p1 = pList; while (p1->link) { ... more
C Programming

01/18/21

Decimal to Binary in c

Between 0 and 255 a number will be decided randomly by computer. Then asks to user 3 times a random digit of binary value of the that number. If user enters wrong number for a digit program will... more
C Programming

01/18/21

Decimal Binary in c

Between 0 and 255 a number will be decided randomly by computer. Then asks to user 3 times a random digit of binary value of the that number. If user enters wrong number for a digit program will... more
C Programming

01/17/21

C Programming (Prompt and attempt at solution)

The program expects the name of an input file and an output file to be given by the user. Ifthe user does not input any names, default file names should be used, such as input.txtand output.txt.... more
C Programming

01/02/21

I need it now!!!

length = strlen(str)for(i = 0; i < length; i++){ symb = paranthesis[i]; if(symb == '_____' && stack_size == ____ ) top = push(top,symb); else if(symb == '____' &&... more
C Programming Computer Programming

12/20/20

Create a complete C program for lecturers to keep track of students’ assessment.

Ask the user to enter the type of assessment, either Q for Quiz or A for Assignment.o Use switch case statement to identify their choice.o If their choice is Quiz:▪ Ask the user to enter quiz 1 and... more
C Programming Computer Programming

12/19/20

Create a complete C program for lecturers to keep track of students’ assessment.

Ask the user to enter the type of assessment, either Q for Quiz or A for Assignment.o Use switch case statement to identify their choice.o If their choice is Quiz:▪ Ask the user to enter quiz 1 and... more

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.