tnx./...
for continuing to calculate w/ the modifiied number....
and how bout making 2.74568 to 2.74 , meaning i wil not round it off. il just drop '568'
Type: Posts; User: Marrah_janine
tnx./...
for continuing to calculate w/ the modifiied number....
and how bout making 2.74568 to 2.74 , meaning i wil not round it off. il just drop '568'
how can i make 2.74890 to 2.75???
pls helppppp!!!!
can u suggest a code that will help me determine the shortest path??
i nid to find out wat is the shortest path....
user will input values.. then input where wil be his entrnce and exit..
ent_y is the column and ent_x is the row of the entrance entered by the...
pls pls i nid to download it.....
#include<conio.h>
#include<stdio.h>
#include<dos.h>
#define x 20
struct info1
{
int at,bt,prior,tt,wt,no;
}job[x];
I've replaced the njbs with the variable a.. and it worked! the function can now be called! THanks!
sorry for the inconvenience.. it's just that we are already cramming bcoz it is due on the 27 th.... :(
It should show a gantt chart and the average waiting time and turn around time using fcfs when called.
actually this is the original function to be called, we've just edited some of the variables.
int fcfs(struct info1 job[],int njobs)
{
struct info2
{
int btleft,no,tt,wt;
}queue[number];...
if I choose 1(FCFS algorithm), the program terminates....
What's wrong with this function???
int fcfs(struct data jb[], int a)
{
struct info
{
#include<conio.h>
#include<stdio.h>
#include<dos.h>
# define x 25
struct data
{
int at,bt,priority,tt,wt,no;
}jb[x];
ah ok... tnx.. but we have a problem in evaluating the expression
void postfix()
{ stack *A;
stack *B; stack *C; stack *D;
char a[100];
char b;
char *c;
can somebody help me bout this?
void postfix()
{ stack *A;
char a[100];
int a;
clrscr();
create_stack(A);
p("Enter a postfix expression: ");
printf("\n\n\t\t1st Player:");
scan("CLAN[%d]",&CLAN[10]);
or
printf("\n\n\t\t1st Player:");
scan("%d",&CLAN[10]);
is it ok if i use array in this program?
the output is
like this
TEAM BLUE SCORES TEAM GREEN(same with team blue, below is the number of plyr.
4
6
8
3
8
4(this is the number of the players of team blue)
hey there..
i deleted the if(a==1)
it goes to the next function but when i entered the point..
void one()
{
int a ;
int x[20];
printf("\n\n\n\t\tPlayer number 1 of Team Blue has shoot the ball.");...
ill try...i dont know what will happen next...
do you know how to tabulate all the scores that user had input?
what if i delete the a==1?
after i entered the number of the player
printf("\n\n\n\t\t\tEnter the number of the player: ");
scanf("%d",&a);
if(a==1)
one();
getch();
}
what part of program?
awts....i dont know how to fix it up coz i dont have enough knowledge bout C.
#include <stdio.h>
#include<conio.h>
#include<ctype.h>
void new_game1();
void blue(int q,int r, int s, int t, int u);
void green(int v,int w, int x, int y, int z);
void player1();
void exit();...
yes
#include <stdio.h>
#include<conio.h>
#include<ctype.h>