Home > Back-end >  Kneel to beg
Kneel to beg

Time:10-05

Which big brother to help me take a look at why this run?

CodePudding user response:

https://blog.csdn.net/qq_45861670/article/details/104015023

For your reference

CodePudding user response:

The
reference 1 floor? Victor.?? Response:

https://blog.csdn.net/qq_45861670/article/details/104015023
For your reference

Is not the problem, as a response is I use the external function of the problem, but I don't see, you can try to help me have a look? A program in a very simple

CodePudding user response:

Can you post the code

I see you send pictures of

Is transversely

CodePudding user response:

The
reference 3 floor? Victor.?? Response:
can you post the code

I see you send pictures of

Is transversely


#include
Tamperatures (double A);
Int main ()
{
Double a;

Printf (" please enter the Fahrenheit temperature: ");
While (the scanf (" % f ", & amp; A)==1)
{
Tamperatures (a);
Printf (" please enter the Fahrenheit temperature: ");
}
return 0;
}
Tamperauters (double A)
{
Const double b=1.8, c=32.0, d=273.16;
Double Celsius, kelvin.

Celsius=b * A + c;
Kelvin=+ 273.16 Celsius;
Printf (" \ n % 2 f to convert c % f \ n absolute temperature as the %. 2 f ", A, Celsius, kelvin);
}

CodePudding user response:

Tamperauters (double A)

What is this, wrong spelling

And in front of the function and type

Void

Double

Will do

CodePudding user response:

1, the function declaration format is wrong, like the upstairs said Tamperauters (double A)=="void Tamperauters (double A) this is the right format,
2, type double the scanf (" % lf ", & amp; A). The lowercase L % lf. % f, input format is a float,

CodePudding user response:

The
reference 5 floor? Victor.?? Response:
Tamperauters (double A)

What is this, wrong spelling

And in front of the function and type

Void

Double

Will do

Must be void? And whether the variable I create a problem

CodePudding user response:

refer to 7th floor qq_46506658 response:
Quote: refer to 5 floor? Victor.?? Response:
Tamperauters (double A)

What is this, wrong spelling

And in front of the function and type

Void

Double

Will do

Must be void? And whether the variable I create a problem ah


Change the % f % lf

Function to have type

What is what is the return value, function type, your function has no return value, void can

The variable will be a problem

CodePudding user response:

The
reference 8 floor? Victor.?? Response:
Quote: refer to 7th floor qq_46506658 response:

The
Quote: 5 reference building? Victor.?? Response:
Tamperauters (double A)

What is this, wrong spelling

And in front of the function and type

Void

Double

Will do

Must be void? And whether the variable I create a problem ah


Change the % f % lf

Function to have type

What is what is the return value, function type, your function has no return value, void can

Variable problem

Thank you thank you aunt, no thought, and a just learning c rookie

CodePudding user response:

The
reference 8 floor? Victor.?? Response:
Quote: refer to 7th floor qq_46506658 response:

The
Quote: 5 reference building? Victor.?? Response:
Tamperauters (double A)

What is this, wrong spelling

And in front of the function and type

Void

Double

Will do

Must be void? And whether the variable I create a problem ah


Change the % f % lf

Function to have type

What is what is the return value, function type, your function has no return value, void can

Variable problem

Thank you thank you thank you thank you thank you

CodePudding user response:

 # include & lt; Stdio. H> 

//Tamperatures (double A);
//void Tamperatures (double A);

Void Tamperauters (double A);

Int main ()
{
Double a;

Printf (" please enter the Fahrenheit temperature: ");
//while (the scanf (" % f ", & amp; A)==1)
While (the scanf (" % lf ", & amp; A)==1)
{
//Tamperatures (a);
Tamperauters (a);
Printf (" please enter the Fahrenheit temperature: ");
}
return 0;
}
//Tamperauters (double A)
Void Tamperauters (double A)
{
Const double b=1.8, c=32.0, d=273.16;
Double Celsius, kelvin.

Celsius=b * A + c;
Kelvin=+ 273.16 Celsius;
//printf (" \ n % 2 f to convert c % f \ n absolute temperature as the %. 2 f ", A, Celsius, kelvin);
Printf (" \ n % 2 lf to convert c % lf. \ n absolute temperature as the %. 2 lf. ", A, Celsius, kelvin);
}


For your reference ~

Spelling mistakes, if prone to error, so why up so long function name?

A double, with % lf

CodePudding user response:

Tamperauters
Temperature

nullnullnullnullnullnullnullnullnullnull
  • Related