Popular posts from this blog
Become Skilled In Coding
What is Coding? Coding is the act of writing instructions for a computer to make the computer perform a task. Coding may also be called programming . A finished set of computer instructions is called a program . Every app, game and software program we use requires a coded program to work. Many of our household appliances and even our cars also require a coded program to work. For a program to work it must be written in a way that a computer understands. This is done with a computer language . There are different computer languages designed for different types of computer programs. These computer languages include HTML, Javascript, C and Python. Essentially the computer language converts human generated instructions into binary code – that is, strings of ones and zeroes that tell a computer what to do. When learning to code, children typically learn to use simplified, visual programming tools that allow them to build programs with pre-made blocks of codes that ca...
Superscripts in VB
Good Day Friends, I was working on how to calculate the position of students in a class and i got stocked. I did some research on line and i was unable to get the position of student so I left the code for three days. On the third day, i had a good rest and when i went back to my code, i decided to create a public sub, pass a variable to the sub that will determine the position and use the length of the position to get the superscripts . Below is a segment of my code in VB Public Sub GetSuffix(position As String) Dim suffix As String = "th" If Integer.Parse(position) < 11 OrElse Integer.Parse(position) > 20 Then position = position.ToCharArray()(position.ToCharArray().Length - 1).ToString() Select Case position ...
Comments
Post a Comment