answersLogoWhite

0


Best Answer

%%c %%D %%DIA c%%

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: The special character string that is used to print the diameter sign is?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

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 do you assign or print special symbols in c plus plus?

UTF-16 strings or characters (std::wstring or wchar_t) are the best method of assigning and printing special symbols. UTF-8 encoding using std::string can be used to minimise memory consumption but still requires conversion to wide-string for printing purposes. However, if the symbols are within the range of extended ASCII character codes (0x00 to 0xff), then an unsigned char or std::string is all you really need.


Write a program to extract a portion of a character string and print the extracted string Assume that m?

#include<stdio.h> #include<string.h> void main() { char str[50]; char ext[50]; int pos,len,i,j=0; printf("\nenter the main string.....-\n"); gets(str); printf("\nenter the position and length of the string to be extracted...-\n"); scanf("%d%d",&pos,&len); for(i=pos-1;i<len+pos;i++) { ext[j++]=str[i]; } puts(ext); } /* this is a much easier solution by : ROHIT VERMA*/


How do you print characters up and down in c plus plus vs. side to side?

Place a newline (linefeed) character ('\n') after each character you print. Depending on the device you may need a carriage return as well ('\r'). Usually the carriage return comes before the linefeed, but can often be treated as a string of two characters ("\r\n").


To display an input string vertically by c?

// get input char input[256]; gets(input); // print one character on each line int i; for(i = 0; input[i] != '\0'; ++i) { printf("%c\n", input[i]); }

Related questions

What ConsoleWriteLine do when NULL character within a string?

it will print nothing on commandline..


WAP to initialize the character and print with it upper case lower case or special case in java?

public static void main(String[] args) { char val = 'a'; String vals = val + ""; System.out.println("Lower Case: " + vals.toLowerCase()); System.out.println("Upper Case: " + vals.toUpperCase()); }


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 do you accept a string in C character by character and then print it character by character?

#include<stdio.h> #include<conio.h> void main() { int a,s,t=8; printf(enter the name); scanf("d%d5d5"); } getche()


How do you assign or print special symbols in c plus plus?

UTF-16 strings or characters (std::wstring or wchar_t) are the best method of assigning and printing special symbols. UTF-8 encoding using std::string can be used to minimise memory consumption but still requires conversion to wide-string for printing purposes. However, if the symbols are within the range of extended ASCII character codes (0x00 to 0xff), then an unsigned char or std::string is all you really need.


A character that displays on the screen, but does not print?

a character that displays on the screen, but does not print


Write a program to extract a portion of a character string and print the extracted string Assume that m?

#include<stdio.h> #include<string.h> void main() { char str[50]; char ext[50]; int pos,len,i,j=0; printf("\nenter the main string.....-\n"); gets(str); printf("\nenter the position and length of the string to be extracted...-\n"); scanf("%d%d",&pos,&len); for(i=pos-1;i<len+pos;i++) { ext[j++]=str[i]; } puts(ext); } /* this is a much easier solution by : ROHIT VERMA*/


WAP to initialize a character and print whether it is upper caselower case or special character without using logical operators?

The general solution to this problem is very simple to lay out, but part of it relies on what a "special character" is. The part of code which handles this will be highlighted for the reader to implement as he/she will. void displayType(char c) { if(Character.isUpperCase(c)) { // upper case System.out.println("Upper case"); }else if(Character.isLowerCase(c)) { // lower case System.out.println("Lower case"); } else { // special case // This is where the "special character" part comes in. // You may be defining a "special character" as any non-letter character, // in which case you can simple put the line to print it out in this else // block. A "special character" may also be any non-letter, non-digit // character, and so we would need to check for Character.isDigit at // this point. } }


How do you print a string 5 times in java?

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


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

Printer driver


How do you print characters up and down in c plus plus vs. side to side?

Place a newline (linefeed) character ('\n') after each character you print. Depending on the device you may need a carriage return as well ('\r'). Usually the carriage return comes before the linefeed, but can often be treated as a string of two characters ("\r\n").


What are the components of print f and scan f?

printf: format string + value list scanf: format string + address list