Programming, I don t know what s wrong? 5

Updated on technology 2024-05-25
5 answers
  1. Anonymous users2024-02-11

    There is nothing wrong with looking at the whole, it depends on what you are losing.

    The range of integer integer is an integer of -32768 32767, and it is not allowed to exceed the range or have a decimal point.

    You can choose the real type, which has a range of -10 -38 10 38 integers or decimals.

    Just don't exceed -10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

    10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

    program e;

    vari,s,n:real;

    begini:=1;

    s:=1;readln(n);

    while i<=n do

    begins:=s*i;

    i:=i+1;

    end;writeln(s);

    end.

  2. Anonymous users2024-02-10

    It seems to be right, it should be too big data beyond the range of variables that can be recorded.,The real stored upstairs is a decimal is an input integer.,It will still be stored as.,You can use longint's data type to store about 2 billion size of data.,It's really not good to use qword.,This is twice as big as longint.,But it's unsigned and you can only input positive numbers.。

  3. Anonymous users2024-02-09

    The main problem with your program is that the fenmu variable can't take on the task of transforming the sign and adding 2 at the same time, for example, adding 2 when fenmu is -3 becomes -1 instead of 5, so the result is not right.

    The solution is to set a separate variable flag with a transform symbol, and the complete procedure is as follows (see figure, see note for changes).

  4. Anonymous users2024-02-08

    After a look at your source code, the statement that should be allocating space to tabs and assigning values is wrong. There may be two specific questions: Lu Oak Book.

    This may be a display issue, or it may be a true issue: there is no separator (space or tab key) between db and the following data.

    In your data sheet, the separator between the 5th (66h) and the 6th (6dh) "was incorrectly entered as a double-width character", "not a half-width character", ".

    Amend the line to read as follows:

    tab: db 3fh,06h,5bh,4fh,66h,6dh,7dh,07h,7fh,6fh

    Change it and give it a try. If there is a problem, continue to communicate. Thank you.

  5. Anonymous users2024-02-07

    Summary. Hello, glad to answer for you.

    Hello, glad to answer for you.

    What is your programming?

    Source program, it should be a matter of allocating space to tabs and assigning values.

    How should that be handled.

    The middle separator", "was mistakenly entered as a double-width character", "not a half-width character", ".

Related questions
8 answers2024-05-25

Hello dear Samsung users:

According to your description: >>>More

22 answers2024-05-25

Dude: To be honest, after reading your problem, I will never have a problem with your lover It's not that I blow the wind and light the fire, so that anyone will move away from ghosts >>>More

14 answers2024-05-25

In a word: break up! That woman doesn't know how to cherish it!

3 answers2024-05-25

Zhang Jingxuan [I just love you too much].

Qu: I just love you too much. >>>More

5 answers2024-05-25

Formal licensed companies, state protection, legal support, you can go to the Ministry of Commerce for inquiries. >>>More