ProAnswers.org

How to display square root symbol on output screen in C /c++?

pls help…
i wants to print square root symbol in my program.

1 Like

you can achieve this by using ASCII value of root symbol i.e. 251.

In C we can print this symbol as below

printf("%c",251);

this will print the square root symbol.