-
#include
void square(int n)
int i,m,j,k;
for(i = 0; i < n; i++)printf("*") ;
printf("");
for(m = 0; m < n-2; m++)printf("*") ;
for(j = 0; j < n-2; j++)printf(" ") ;
printf("*") ;
printf("");
for(k = 0; k < n; k++)printf("*");
printf("");
int main()
int n = 0;
printf("Please enter a number between 3 and 10:");
scanf("%d",&n);
while(n < 3 ||n > 10)printf("The number you entered is not between 3 and 10, please re-enter:");
scanf("%d",&n);
square(n);
return 0;
-
Since you're asking this question, it proves that you don't want to use the most ordinary method.
This uses a loop to determine that it consumes the least resources and generates the fastest include
#include
void numbercub(int i)int j,k;
for(j=1;j<=i;j++)
printf("*");
for(k=2;k9) )
numbercub(temp);
system("pause");
return 0;
-
To put it simply, a few bells are a few times a square of 10.
2 = 10 (power, lg(2) =
50 = 10 (power, lg(50) =
lg(50 2)=1g(50)-lg(2)=direct formula: a=10*lg(50w 20w)=14dB5mV=,1b=10dB
a=20*lg(5v/
-
I'm struggling with this as well
-
It is a variant of "Mao", pronounced: mào (pronounced the same as "hat") and sounded the same as "hat".
One. Conception. 懋 is a Chinese character that is pronounced mào.
There are 5 meanings, which are diligent and diligent.
Gu Tong"Mao"Grand. Encouragement, encouragement. Beauty. Glad.
Two. The word rises to the meaning.
Movement 1(Shape sound.) From the heart, 楙 ( mào) sound. Original meaning: encouragement, so that people work hard to make progress and play the front).
2.Same as the original meaning [encourage; exhort;urge] Mao, 勉也. --Eastern Han Dynasty Xu Shen, "Shuowen".
Mao Jian has a great life. --Book Pan Geng".
Mao Sui persuaded to divide and save enough money. --Chinese Jin IV
3.Another example: Maoxue (diligent study); Mao Yang (strive to exalt); Mao Jing (Encourage Caution) 4Extremely hard [do one.]' best;do all in one's power]
Xianmao is strong to be strong. --Zhang Heng, "Tokyo Fu".
5.pass"trade"。Trading, buying and selling [trade] whether there is a residence or not. Lack of land -- "Shu Yiji".
Form 1pass"Mao"。Big; Grand [grand] to Maunaid, Jia Nai Piji. --Book Da Yu Mo
2.Another example: Mao Gong (great merit); Maodian (grand ceremony); Maoye (Daye) 3Beautiful [fine].
Woohoo. --Later Han Shu Zhang Di Ji. Note:"Beauty also. "
4.Another example: Maohua (Meisheng's chemical education).
Adjectives are shared with verbs
1.Virtue Mao Mao Gong, Gong Mao Mao reward. --Tang Zhongzong, "Book Cui Yuanwei Boling County Wang Wen" ("Quantang Wen", vol. 17).
-
0x0000007b
This ** has something to do with the hard disk, but don't be afraid, it's not a bad sector, it's a setting problem or a virus that causes the hard disk boot partition error.
If you have this problem when installing the system with the original system disk, it means that your machine configuration is still relatively new, as an old system disk, you don't recognize such a new hard disk interface, so you have to enter the BIOS to change the hard disk mode to IDE compatibility mode. Of course, people now use the ghost version of the operating system, and the newer ghost disk does not have this problem. As for the problem that people can't find the IDE item, because many motherboards indicate that the wording of this item is not the same, some of them say AHCI and Compatibility, and this AHCI is equivalent to SATA mode, and Compatibility is equivalent to IDE mode.
If your operating system has been used for a while, and suddenly this problem occurs one day, then sorry, caused by the virus, press F8 on boot, select the last correct configuration, and if you can't restore the normal mode, then please redo the system.
-
The blue screen may be too many processes
Check with software like 360.
-
This is the blue screen, just turn on the restart.
-
First, second, this question is more complicated!
There are several possibilities:
1. Your computer sucks. >>>More
As for usage, generally do with verbs and verbs with be verbs with adjectives. >>>More
1) If this ammeter is directly connected to the circuit, what is the maximum voltage allowed between the two binding posts of the ammeter? >>>More
Teach you how to like you, instead of having a teacher? According to the Department of Education and Skills, students in school will have their own way of teaching, and in the future there will be no more problems, such as finding enough teachers. Estelle Morris, Director for Education, Opening of the Educational Technology Conference in 2002 began at the London Conference, where she presented a video projection computer produced a model school for tomorrow. >>>More
Hair tissue is almost entirely made up of keratin, which in turn is synthesized in the human body by nearly twenty amino acids. Therefore, apart from amino acids, there is nothing left in this world that can generate and repair hair tissue! >>>More