Home > Back-end >  Code the novice small white out of the question I don't know how to solve the ball ball save th
Code the novice small white out of the question I don't know how to solve the ball ball save th

Time:01-23

To save the children I is the guest brush the cattle code to the topic and then code can pass the cattle guest but I just wasn't on my own devc++
The question is this:
A year, about 3.156 x 107 s, ask for your age, according to the age and how many seconds,
Enter description:
The age line, including an integer (0 & lt; Age<=200),
Output description:
Output a line contains an integer, age corresponds to the number of seconds,

Myself enter 20 when the result is right but this is the input 200 answers and I also tried to the answer to this question by other I wrong on my devc++ what is going on in the ball the ball help children meowed

CodePudding user response:

I really don't know how this ball the ball the great god save me

CodePudding user response:

B in the right data type, for your reference:
 # include 

Int main ()
{
Int the age;
Double b=0;
The scanf (" % d ", & amp; The age);
If (age<0 | | age & gt; 200) return 1;
B=age 3.156 e7 *;
Printf (" % b=g, b=%. 0 f \ n ", b, b);

return 0;
}

CodePudding user response:

But this is what in cattle guest is to pinch my fans

CodePudding user response:

3.156 e7 is floating point Numbers, computer processing in a different way, maybe blind cat with dead mouse in the guest,

CodePudding user response:

The ~ thank you!!!!!
  • Related