answersLogoWhite

0

Sure. You can write any string, containing or not-containing semicolons (or commas, full stops etc).

On the other hand, you cannot write programs without statements, and you have to terminate statements with semicolon.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

Can you print string without using semi column in printf statement in c programming?

If you forget the semicolon, your program won't compile.


How do you Print all the first characters in the string in python programming?

Let's say your string is a variable called "string" To print out all the characters in order, you would do: for i in string: print(string[i]) If you wanted to print out characters up to a point (n = maximum characters): for i in range(n): print(string[i]) hope this helps!


How it's done what are the procedures to be done string printing?

String printing involves displaying or outputting a sequence of characters (a string) to a console or user interface. The procedure typically includes defining the string in a programming language, using a print function or method specific to that language (like print() in Python or System.out.println() in Java), and executing the code. The output is then rendered to the screen or console where the program is running. Additionally, formatting options can be applied to enhance the presentation of the string if needed.


Write c program to print palindrome using string without using strrev strlen strcam?

sdfdg


By using awk programming how to count number of lines in a given file without wc command?

Use the following:awk 'END { print NR }'Awk will count the lines and print it out.


How do you print a spreadsheet without the letters and number row and column?

You can turn them off in the options when printing. Check out the options section.


Write a program in java programming language to print welcome to java programming?

public class welcome { public static void main (String args[]) { System.out.println("Welcome to Java programming"); } } There are also many "Hello World" tutorials you can find elsewhere on the internet


Read a stringcount and print number of 'a's in the string?

To count the number of 'a's in a string, you can use the count() method in Python. For example, if you have a string my_string, you can get the count of 'a's by using my_string.count('a'). This will return the total number of occurrences of the letter 'a' in the string. Finally, you can print the result using the print() function.


How do you print a string 5 times in java?

For(int I = 0: I < 5; i++) { System.out.println(" print this " + I ); }


Print upper and lower triangle of a matrix?

To print the upper triangle of a matrix, iterate through its rows and columns, printing elements where the column index is greater than or equal to the row index. For the lower triangle, print elements where the column index is less than or equal to the row index. In programming languages like Python, this can be easily achieved using nested loops. For example, for a matrix A, the upper triangle can be printed with for i in range(n): for j in range(i, n): print(A[i][j]), and similarly for the lower triangle.


What converts print jobs generated by applications into a string of commands for a specific print device?

Printer driver


What is a column inch in print media?

14 agate lines