Job Recruitment Website - Job seeking and recruitment - 70 points to recruit C language experts, 9 questions, 3 programming, and the rest of the small questions (online, etc. )
70 points to recruit C language experts, 9 questions, 3 programming, and the rest of the small questions (online, etc. )
2.%.7f means that the decimal part should be supplemented by 7 digits when outputting, so your topic is copied wrong, and you should output 13.00.
3.%6d indicates that when outputting an integer, the left space is filled with 6 digits, so the output: (space) (space)123 # #; % 14.8lf indicates that when floating-point numbers are output, the decimal part needs to be supplemented by 8 bits, the integer part needs to be supplemented by 14 bits, and spaces are added to the left, so the output is: (space) (space) (space)1.34550000 #.
4.I, J, k J and K are integers, scanf ("%d ",&; I); When I read. Because. It will never appear in an integer, and scanf assigns 12 to the front. To I as the first integer, and then scanf ("%d ",&; J), scanf("%d ",& ampk), all reading. , and did not read the integer, so both failed, so the values of j and k did not change, or the initial value of 0.
5. In fact, if (x>0) y =1; Otherwise y = 0;; These two sentences only work, and the role of the first two sentences is obliterated by these two sentences. So x>0, y= 1, otherwise y=0.
6、! Is the negation operator! It is really fake! False is true, in C language, 0 means false, and non-zero value means true, so! 0 is 1! (nonzero value) =0.
7、
# include & ltstdio.h & gt
Invalid master (invalid)
{
Double t, s;
s = t = 1;
for(int I = 1; I & lt=50; i++)
{
t * = I;
s+= 1/t;
}
printf("%f\n ",s);
}
8. This topic is completely meaningless. In reality, how old a person is, just subtract the year of birth from the current year. If you have to say your actual age, you just need to see if you have a birthday. It's y 1-y0 when it arrives, and y 1-y0- 1 when it doesn't arrive.
9. I really couldn't think of any good methods at that time. Let's assume that x is an integer and do it in the most troublesome way.
Switch (x)
{
Case 4: Case 3: Case 2: Case 1:
y = x; Break;
Case 0:
y = x- 1; Break;
Case 1: case 2: case 3: case 4: case 5:
Case 6: Case 7: Case 8: Case 9:
y = x+ 1; Break;
Default value:
Printf ("Error! \ n ");
}
- Related articles
- What are the recruitment departments of social workers?
- A 22-year-old girl from Jinan, Shandong Province, worked as a professional bridesmaid after graduating from college. Have you ever heard of these non-traditional occupations?
- What about Zhengzhou Card Nanny Information Technology Co., Ltd.?
- High scores are urgently needed for 20 12 Hunan teachers' examination and compilation materials. Chinese in senior high school. Better still, I hope to have the guidance of my predecessors.
- Datong Yuanda Hongye Automobile Sales and Service Co., Ltd. Recruitment information, what about Datong Yuanda Hongye Automobile Sales and Service Co., Ltd.
- How do mainlanders get to Kinmen Island?
- What are the ways of corporate word-of-mouth marketing?
- How to work at Airbus (Beijing) Engineering Technology Center Co., Ltd.
- What about the surrounding facilities of Li Yulin community?
- How are the employees of Shaoxing Supor Electric Appliance Co., Ltd. treated?