Thursday, July 9, 2009

Modify my C programming code?

// MultiLoad.cpp : Defines the entry point for the console application.


//





#include "stdafx.h"


#include %26lt;stdio.h%26gt;


#include %26lt;conio.h%26gt;


#include %26lt;math.h%26gt;











/*


Number of jobs - 4 to 7


Volume of jobs - 5 to 15


No of process - 3


Job units - 1 to 6





*/





int NoJ=4;//Number of jobs


float VoJ[4]={15,12,10,5};//Volume of jobs value min=5 max=15


float NoP[3][4]={{2,2,5,3},


{5,4,4,2},


{4,3,5,1}};//No of process


//int JU[6]=0;//Job units





float coeffxy[3];


float BLog[3]={6,10,15};








float time[3]={0,0,0};


float maxRatio=0.0;





int split=0,split1=0,split2=0;


float v=0.0;





float e1=BLog[0];


float e2=BLog[1];





float x,y;


float e3,e4;


float t3equ[3];





float e1x=0,e3x=0,e2y=0,e3y=0;





int twist=0;





float SolveEqution(float e1,float e2,float c1,float c2){





return (e2-e1)/(c1+c2);


}





void makeTEqual(){








int itr;





//if ((time[0]==time[1]) %26amp;%26amp; ( time[0]%26gt;time[2]))


{








if ((NoJ%2)==0)


//itr=

Modify my C programming code?
ummmm...OK....





void main()


{


printf("Hello World");


}





There, its modified.
Reply:What is your question.....?


No comments:

Post a Comment