Help ASAP!create a table of create a table of celcius to farenh&Fahren to Celcius

0

here is the things so far i got.

#include <stdio.h>
int CF(int C);
int FC(int F);
int main(){
printf("Fahrenheit equivalents of Celsius temperature\n");
printf("Celsius \t Fahrenheit \n");
for (x=0;x<=100;x++);

printf("Celsius equivalents of Fahrenheit temperature\n");
printf("Fahrenheit \t Celsius \n");
for (x=32;x<=212;x++);

erm,still got 2 problem.1st,i need to put in the formula,right?where and how should i put in.2nd,is about the integer x.i also need to add x into function main right?sigh,i am newbie.a lot of basic things still dont understand.

#include <stdio.h>
int CF(int C);
int FC(int F);
int main (){
printf("Fahrenheit equivalents of Celsius temperature\n");
printf("Celsius\t\tFahrenheit\n");
for (x=0;x<=100;x++){
printf("%d\t%d\n",x,CF(x));
C = (F - 32) * (5 / 9);
}
printf("Celsius equivalents of Fahrenheit temperature\n");
printf("Fahrenheit\tCelsius\n");
for (x=32;x<=212;x++){
printf("%d\t%d\n",x,FC(x));
F = (C * 9 / 5) + 32;
}
return 0;
}

Error E2451 ass22.c 5: Undefined symbol 'C' in function main
Error E2451 ass22.c 5: Undefined symbol 'F' in function main
Error E2451 ass22.c 10: Undefined symbol 'x' in function main

#include <stdio.h>
int CF(int C);
int FC(int F);
int main (){
int x;
printf("Fahrenheit equivalents C=(F-32)*(5/9)\n");
printf("Celsius\t\tFahrenheit\n");
for (x=0;x<=100;x++){
printf("%d\t%d\n",x,CF(x));
}
printf("Celsius equivalents F=(C*9/5)+32;\n");
printf("Fahrenheit\tCelsius\n");
for (x=32;x<=212;x++){
printf("%d\t%d\n",x,FC(x));
}
return 0;
}

i still cant solve it.help.these r the thing i got now.

ya,i also got notice about those 2 but how to defined?defined as what?this thing really drop me crazy.now here already 3.45am.i nd go to sleep.2moro still got class.sigh.

Thanks a lot,guys.I manage to get the answer from my lecturer.Here is the code for ppl to refer or do as reference.

#include <stdio.h>
int CF(int C);
int FC(int F);
int main (){
int x;
printf("Fahrenheit equivalents of Celsius temperature\n");
printf("Celsius\t\tFahrenheit\n");
for (x=0;x<=100;x++){
printf("%d\t\t%d\n",x,CF(x));
}
printf("Celsius equivalents of Fahrenheit temperature\n");
printf("Fahrenheit\tCelsius\n");
for (x=32;x<=212;x++){
printf("%d\t\t%d\n",x,FC(x));
}
return 0;
}
int CF( int C){
return (int)(32+(C * 9 / 5));
}
int FC(int F){
return (int)(5.0 /9.0 *(F-32));
}

Need some help with this Array. I am trying to get the sum of the even numbers and the sum of the odd numbers using a for each loop. I know the answers to what I am trying to achive are sum of even = 84 and the sum of ...

When I execute this progammatically, I get a table with row heights much larger than when I do this manually.

Note : Sel is the Word.Selection object and the Clipboard contains an Excel Table.

public void AddClipboard()
{
Sel.PasteExcelTable(false,false, false);
var t = Sel.Tables[Sel.Tables.Count];
t.AutoFitBehavior(Word.WdAutoFitBehavior.wdAutoFitContent);
}

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...