problem with conversion of units like km to m etc...
Our teacher have asked us to make a program in C language to read the difference between two cities in km, m, cm, inches and feets... I have tried every hell to make this work... I am not able to combine it all together... please help!!! I am so confused.
here is sum rough work i have done:
u first try the conversion of one form to another first.
After u have tested all of them in individual programs u can try to integrate them............
it doesn't work actually they have not taught us all this jus da simple stuff and now they expect us to make something we have never done before don't even have a hint but i went through a tutorial with similar kind of thing... i'll show you what i did but it just shows 0,0,0 n 0 lol! something is badly wrong with the script!!!
int meter =0;
const int km_per_meter=1000;
const int meter_per_cm=1000;
const int cm_per_inches=2.54;
const int inches_per_feet=12;
printf("Enter distance of city 1 in Km: ");
print("that is equivalent to %d meter; %d cm; %d inches and %d feets\n",meter,cm,inches,feet);
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them.
I don’t want at this stage work on a big separate project as I've already got plenty ...
I am writing a java program that needs to execute shell commands, so I wrote a function that would take the command to execute as a string (ie: "mkdir ~/Folder1") and execute that command with the shell. Here is the function:
Runtime run = Runtime.getRuntime();
Process pr = ...