15,552 Topics

Member Avatar for
Member Avatar for Claire_6

Hi! I need help with my assignment. I need to convert this one to C language. I've already changed the cout to prinf, but somehow it doesn't run. Help please. #include <stdio.h> int main(){ int order,no_deals; cout<<"Grocery"<<endl; cout<<endl; cout<<"(1) Eggs 6 pesos only."<<endl; cout<<"(2) 1 kl Rice 60 pesos only."<<endl; …

Member Avatar for rproffitt
0
97
Member Avatar for Mohamed_144
Member Avatar for Harvey_4

Hi, i wanted to see if someone can help me, im new on this so i dont understand very good, any way, im trying to make a pic that show de characters that recive by bluetooth, to do that im using UART and a LCD, if someone can help with …

Member Avatar for rproffitt
0
74
Member Avatar for NotAceGG

#include<graphics> main() { int gd=0,gm; initgraph(&gd,&gm,""); circle(100,80,20); closegraph(); } Error:fatal error: graphics: No such file or directory

Member Avatar for Husoski
0
95
Member Avatar for SylveeAshley

I am writing a program that calculates the volume of a cylinder when you input the diameter and height, using the formula 1/4*height*3.14*diameter^2 However the issue is, whenever I do that, the volume always comes out to be 0 when I run the program. #include<iostream> using namespace std; int main() …

Member Avatar for Husoski
1
195
Member Avatar for Tonittoh

each quarter the marketing manager of a retail store divides the customers into two groups based on their purchase behavior in the previous quarter. The classes are denoted by L and H. The manager wishes to determine to which group of customers he should sent a catalog. The cost of …

Member Avatar for Dani
0
47
Member Avatar for Anant_3

#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <time.h> #include <string.h> #define WORDS 10 #define WORDLEN 40 #define CHANCE 6 bool srand_called = false; int xrand(int x){ if (!srand_called) { srand(time(NULL) << 10); srand_called = true; } return rand() % x; } char* decode(char* code){ int x = ((strlen(code) - 3) …

Member Avatar for rproffitt
0
130
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
90
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
50
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
75
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! 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
168
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
59
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
38
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
22
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
114
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
112
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
53
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
259
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
340
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
118
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
6K
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
222
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
53

The End.