15,540 Topics

Member Avatar for
Member Avatar for Maulana_1

#include<stdio.h> main() { int A[9]={6,3,1,5,7,4,2,8,9}; int Temp, I, J, K; printf("sebelum \n"); for(I=0; I<=9-1; I++) { printf(" %d ", A[I]); } for(K=0; K <= 9; K++) { J = K; for (I=K+1; I<=9-1; I++) { if (A[I] < A[J]) J = I; } Temp = A[J]; A[J] = A[K]; A[K] …

Member Avatar for rproffitt
0
89
Member Avatar for Billclinton

A company by the name focus computer system has a standard rate of 1.6% of the salary of every employee Write a c program that accept employee salary as to display the rate amount after it's application

Member Avatar for rproffitt
0
49
Member Avatar for Ravi_76
Member Avatar for Kayra

#include <stdio.h> int main() ( float height, weight, bmi printf("Enter height in meter\n"); scanf("%f", &height); printf("Enter weight in kg\n"); scanf("%f", &weight); bmi = weight / (height * height); printf("Your BMI is %f\n", bmi); if(bmi < 15) ( printf("Your BMI category is: Starvation\n"); ) else if(bmi >= 15.1 && bmi <= …

Member Avatar for rproffitt
0
93
Member Avatar for Alexandre_6

//************************************************************************** int Sieve_A_Valve = 3; //small distributor int Sieve_B_Valve = 4; int Sieve_B_Valve2 = 5;//Defined Pin as Variable int PreCharge_Valve = 6; //Defined Pin as Variable // VARIABLE CREATION //************************************************************************** unsigned long Relay_Test_Delay; //delay variable creation unsigned long Startup_Purge_Delay; //delay variable creation unsigned long Production_Delay; //delay variable creation unsigned long …

Member Avatar for rproffitt
0
71
Member Avatar for Prajkta_2

Create a code using python of random walk where food is placed in spots on the grid. Whenever a Walker runs into the food it eats it and reproduces

Member Avatar for rproffitt
0
150
Member Avatar for Gabriela_4

Hello! I have a homework in which i should do this: **Input x+-3129 Output: 3x1+2-9=-4** I wrote this code and my output is : **3-1+2x9** Can somebody help me to find the problem and a way to calculate the expression in code? #include <iostream> #include<stack> using namespace std; bool isOperand(char …

Member Avatar for rproffitt
0
60
Member Avatar for Gabriela_4

Hello! So I have this homework that i have no idea how to continue. this is an exemple of input,but i have to do it for a general one: **7 pencils car ball candy tshirt bike video_game Mike Andrew Inna** and the output must be like this: **Mike: pencils candy …

Member Avatar for rproffitt
0
166
Member Avatar for Katie_4

Hi I am coding a raspberry Pi to light up 5 LEDS for a binary number. I am missing some code because I am not sure what to put there, and my output is not coming out correctly. My output is below How many bits? 5 Enter the pin number …

Member Avatar for rproffitt
0
57
Member Avatar for Sami Rmaileh

what code is help me to reading polynomail from a file in c and save it as linked list note I do not know how polynomials is should to read plz help me i do not know who

Member Avatar for rproffitt
0
37
Member Avatar for Prasad_9

I want to create plugin based data visualization in c language. I just want to know how to create plugin manager in c

Member Avatar for rproffitt
0
21
Member Avatar for euubisse12

i am completly stuck with some problems in programming, talking exactly aboutt linked list and some others can anyone help me?

Member Avatar for Naheedmir
0
113
Member Avatar for ky123

May i knw how to write a program that can set goal, record food/drink consumed and record foodcomposition???

Member Avatar for Prasad_9
0
110
Member Avatar for Lonely_2

In the program i made tried to login and it does not work i am not sure what i did wrong. [[Click Here](http://www.onlinegdb.com/B15uh6kB_)](http://www.onlinegdb.com/B15uh6kB_) #include <stdio.h> #include <stdlib.h> #include <string.h> #define MAXUSERNAME 30 #define MAXPASSWORD 20 typedef struct { char username[MAXUSERNAME]; char password[MAXPASSWORD]; } pass; int main() { char userName[MAXUSERNAME]; char …

Member Avatar for Prasad_9
0
51
Member Avatar for fahim_10

Student need to go through the CASE STUDY shown in this exam paper Analyze and answer specific section based on your own thinking and work CASE STUDY Covid-19 pandemic is still on the progress despite several attempts of vaccine program around the world and many of successful ones are already …

Member Avatar for rproffitt
0
49
Member Avatar for Syed_26
Member Avatar for ankhabas

You are the owner of a hardware store and need to keep an inventory that can tell you what different tools you have, how many of each you have on hand and the cost of each one. Write a program that initializes the random-access file hardware.dat to 100 empty records, …

Member Avatar for rproffitt
0
29
Member Avatar for kemeb12872

I hope I am doing this right, I am a beginner in C and I am having trouble to figure out how to modify an entry. I am doing a phonebook application that will write and record into a text. file. I have finished most of the coding but I …

Member Avatar for Juan_23
0
245
Member Avatar for Lonely_2

The program should add, delete and search the report generating system Include pasword and username for teachers Must include files.

Member Avatar for rproffitt
0
23
Member Avatar for thomasdoejr

Write a program using for loops to produce an R by C rectangle, where R and C are provided by the user. The following are the triangles for different values of R and C. R is the number of rows and C is the number of columns

Member Avatar for rproffitt
0
324
Member Avatar for priyamtheone

I'd like to know how the following programme on pointer written in C can be written in C#, especially how to use the keywords in the C programme like &i and \*p in C#. Please clarify. #include <stdio.h> void f(int *p, int *q) { p = q; *p = 2; …

Member Avatar for JamesCherrill
0
115
Member Avatar for oggiemc

Can someone please tell me how to send data from my program to excel. I have a loop which is iteratively printing values to the console: [code=c]printf("16 Bit:\n\n"); for (n=0;n<numberOfValues;n++){ printf("%.4x\n",rand16()); }[/code] but i need to send them to excel for analysis!! Please help

Member Avatar for Mohd Iszamir
0
5K
Member Avatar for Sph_1

im having a issue with a code on AuthServer.cpp giving me the error above, can u help me fix it ?? //----------------------------------------------------------------------------------- // Auth Server //----------------------------------------------------------------------------------- #include "stdafx.h" #include "AuthServer.h" #include "mysql.h" Database* db_acc; Database* db_log; CAuthServer::CAuthServer() { m_pMasterServerSession = NULL; m_pClientAcceptor = NULL; m_pServerConnector = NULL; } CAuthServer::~CAuthServer() { …

Member Avatar for rproffitt
0
201
Member Avatar for Abby_4

Hello! I know it isnt very appropriate, but I have already posted this question on stackoverflow. However, this is a very time sensitive issue and I still need a great amount of help with it and havent gotten any responses there. With that said, I hope that you guys may …

Member Avatar for rproffitt
0
51
Member Avatar for GamerTruce

In need Help with to write a C funciton that positions 10 random letters from the alphabet on a 8x8 grid.

Member Avatar for rproffitt
0
30
Member Avatar for Luka_1

I have never learn python and i need to write one small program in it. I have C++ code so can someone convert that code to python code ? code: #include <stdio.h> int N; struct { int y, x1, x2; } platforme[100]; int spusti(double x, int y) { int rez …

Member Avatar for Adina_2
0
72K
Member Avatar for guidely

Hi, I try to convert the c code into python it actually complie but no result came out Code in C #include <stdio.h> # include <math.h> double const pi=3.1415926535897932384626433; double const twopi=2.0*pi; double const halfpi=pi/2.0; float cos_32(float x) { int quad; x=fmod(x,twopi); if (x<0) { x=-x; } quad=int(x/halfpi); switch (quad) …

Member Avatar for Sukant_1
0
18K
Member Avatar for reidenreyes78

Design a program to compute the gross pay of worker named michael bryan given that michael bryan worked 80hours to php67.97 per hour

Member Avatar for rproffitt
0
37
Member Avatar for Tima_2

Hey, Im working on the UNO game in python and am almost done with the rest of the code but I am not able to print the UNO logo as of yet. Please help. I need to submit my work tomorrow.

Member Avatar for rproffitt
0
35
Member Avatar for clife

I am trying to convert the GMT time into unix epoch (starting from 1970), looks like there is a small bug in code , i could not get and exhausted. I see following difference Non leap years Expected output: Jan 20 19:00:01 2019 GMT = 1548010801 Actual output: 1548097201 (which …

Member Avatar for rproffitt
0
205

The End.