public static void main()
{
String s = Console.ReadLine();
int len = s.length();
Char startletter = s[0];
Char endletter = s[len-1];
string midletter = ‘’;
if(len % 2 ==0)
midletter = s[len/2] + s[(len/2) +1]
else
midletter = s[len/2];
Console.WriteLine(startletter + midletter + endletter);
}
Here the logic is that, startletter is obtained using the index ‘0’, the last letter is obtained by calculating the “length of the string” and subtract 1 to get the “last index” of the given string.
Middle letter is calculated by first finding whether the given string length is “odd or even” and based on that index(es) are identified.
Answer:
Option c is the correct answer for the above question.
Explanation:
View states are a mechanism that is used in c# programming language, It is used on only one page on which the user or programmer is working currently. It does not hold the records when the control goes to the other page.
The above question also wants which is described above. Hence option c is the correct answer while the other is not because:-
- Option a states about the query string which is not any technique to hold the record.
- Option b states about cookies which are used to hold the record of all page.
- Option d states about the session which is used to hold any record and can be accessed on any page.
Answer:
Principles of computer programming are applied in different languages to produce software applications is described below in detail.
Explanation:
The main types of programming languages are:
- Functional Programming Language.
- Scripting Programming Language.
- Logic Programming Language.
- Procedural Programming Language.
- Object-oriented Programming Language.
The programing language authorizes us to write dynamically programs and advance online explications such as- Games, web applications, and mobile applications, etc. Programming is employed to assemble, maintain, automate, measure, and interpret the processing of the data and knowledge.
Information and communications technology
Nominal data is qualitative data; non-numeric data; observations are organized into categories without any recognition of order.
<h3>What is
qualitative data?</h3>
Qualitative data is information that cannot be counted, measured or easily expressed using numbers.
It is collected from text, audio and images and shared through data visualization tools, such as word clouds, concept maps, graph databases, timelines and infographics.
Qualitative data is the descriptive and conceptual findings collected through questionnaires, interviews, or observation.
Analyzing qualitative data allows us to explore ideas and further explain quantitative results.
For example, it could be notes taken during a focus group on the quality of the food at Cafe Mac, or responses from an open-ended questionnaire.
To learn more about qualitative data, refer
brainly.com/question/3151198
https://brainly.ph/question/5565846
#SPJ4