answersLogoWhite

0


Best Answer

You will have to use "printf" when you want to print two slashes one after another in c.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you print two slashes - right after another - in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you display two right triangles in java?

two right triangles


How do you create a calculator on qbasic?

I was able to create a login program in qbasic with this simple code: cls 1 input "Username: " , username$ if username$ <> "Define what you want your name to be here (use the quotes)" then goto 1 else input "Password: " , password$ if password$ <> "Again define using quotes" then goto 1 else print "You have successfully logged in!" Hope this helps! === I would have rewritten the above code...-without using outdated line numbers/being combined together with goto statements-...as being the following... '*** set username/password... userName$="abc" passWord$="123" '*** get username/password DO CLS PRINT "Log in..." PRINT INPUT "Username: ", guessUserName$ INPUT "Password: ", guessPassWord$ LOOP UNTIL guessUserName$=userName$ AND guessPassWord$=passWord$ '*** print welcome screen... CLS PRINT TIME$ + " " + DATE$ PRINT PRINT "Congratulations, "; userName$; ", you have successfully logged in!"


What is another word for resilient?

another word or two for resilient: elastic; flexible; springy; quick to recover


Write the program in qbasic and add two numbers?

Cls input "enter two no.s ",a,b sum=a+b print "sum = ";sum end


How do you add 2 numbers in QBASIC?

I'm not too sure that I understand exactly what you mean by 'add a square'...?! Thus, I will attempt to answer the question using multiple different ways; hoping that, least, 'one' of these answers might be right... ==> CLS PRINT "PROGRAM: Twelve Times Tables Number Square" PRINT FOR intTimes% = 1 TO 12 FOR intTables% = 1 TO 12 sum% = intTimes% * intTables% noOfSpaces% = 0 IF LEN(STR$(sum%)) = 2 THEN noOfSpaces% = 2 IF LEN(STR$(sum%)) = 3 THEN noOfSpaces% = 1 PRINT sum%; SPC(noOfSpaces%); NEXT PRINT NEXT END <== ...QBASIC Code/End.

Related questions

How many slashes fo inches one or two?

Two. One is fo feet.


What car logo has two red lines that look like slashes?

Dodge


What are the two elements that are always in a web address?

2 forward slashes and http, i think


In excel 2007 is there a formula to print the last two digits of a five digit number into another cell?

In cell A1 enter [12345].In cell B1 enter [=RIGHT(A1,2)].Observe in cell B1 the result [45].


What are two advantages of using print preveiw?

Well, the most important advantage of using "Print Preview" is that you can see what you are about to print before you print it. Another thing, is that sometimes (depending on browsers, plug-ins, etc.), you can edit what you are going to print before you print it. You can see one page at a time, or put all the pages up at the same time.


What is Slash's solo band name?

he has two one before guitar hero and one after Slashes Snakepit and Slash


Can two shep have the same nose print?

can two sheep have the same nose print


How we can write the algorithim of sum of two language?

Get the input of two numbers from the user.a,bAdd those two numbers and store the value in another variable.c=a+b;print the value c


Can two right angles be adjacent to each other?

Yes, two right angles can be adjacent to one another. In the letter "T", it's formed by two adjacent right angles.


What is LL Congruence Theorem?

LL Congruence theorem says: If the two legs of one right triangle are congruent to the two legs of another right triangle, then the two right triangles are congruent.


How do you print with background colour?

when you are at the print screen at the bottom there are two boxes that have the words print background and and print headers and footers click on the box the says print background then click print


How much is a Margaret Kane Two Musicians print?

The Margaret Kane Two Musicians print is valued at about $189 depending on the condition of the print. It can be purchased new for about this amount with a frame.