beginer in coding NEED HELP!

Write and print out an Arduino C program which includes four functions: void setup(), void loop(), int ReadLine(char str[]), and the programmer-defined function int kelvinTemperature(celcius). Function loop() should have the user enter a value for the current temperature in degrees celsius, call the function kelvinTemperature to calculate the temperature in degrees Kelvin, and display the calculated value.

Start with the framework

int readLine(char *str)
{
  // check robin's http://forum.arduino.cc/index.php?topic=396450.0 to get ideas
}

int kelvinTemperature(int celsius)
{
}

void setup()
{
}

void loop()
{
  // call readLine and check if a complete line is read

  // if a complete line is read, convert text to number (read up on atoi and atof), call kelvinTemperature and display the result
}