<span>Hanging out with friends, watching your favorite TV show, and buying a pair of new shoes are all examples of rewards for doing well in school. As the result of doing well in studies, a person can hang out with friends, watch their own favorite TV show and can buy a new pair of shoes. Hence all these things are the rewards that are being generated for a good performance in school.</span>
Answer:
Option d (Auto Size) is the correct answer.
Explanation:
In a C# programming language, when a user needs to create a Windows Forms Label, then he needs to specify the property of label that how the label will look like and where the label fits and what is the size of that label. Following are the property which has a different meaning and a user need to specify when he creates a label--
- Fit states that the label to fix in the size.
- Text align states that the item of the toolbar is fixed in the center.
- The Middle center states that the item is fixed in the middle.
- Auto Size helps that the size of the control can be automatically resized.
The above question asked about that property which is used to automatically resize the control. So the answer is Auto size which is described above. Hence Option d is the correct answer while the other is not because--
- Option a state about 'Fit' property which is used to fix the label size.
- Option b states about 'Text align' property which is used to fix items of the toolbar in the center.
- Option c states about 'Middle center' property which is used to fix the item in the middle.
I believer the answere is a formula hope this helped
Answer:
Following are the code to the given question:
#include <iostream>//header file
using namespace std;
int main()//main method
{
int r=26,x,y;//defining integer variable
char c;//defining a character variable
for(x= 1; y<= r; x++)//using for loop for count value
{
for(y= 1; y<= x; y++)//using for loop to convert value in triangle
{
c=(char)(y+64);//convert value into character
cout << c;//print character value
}
cout << "\n";//use print method for line break
}
return 0;
}
Output:
Please find the attachment file.
Explanation:
In this code, three integer variable "x,y, and r", and one character variable "c" is declared, that is used in the nested for loop, in the first for loop it counts the character value and in the next for loop, it converts the value into a triangle and uses the char variable to print its character value.