Computer Science, asked by tanushreeshankar, 1 year ago

does anyone know how to do this programming?
MUST USE ONE 2 PRINTF and BACKSLASH OPERATORS
pls help asap

Attachments:

tanushreeshankar: i want it on microsoft visual 6++ standard edition

Answers

Answered by nain31
0
import java.io. *;
class print
{
public static void main(String args[])throws Exception
{
System. out. println("Hello Malasiyan/n/n/t/t/tHow are you/n/n/t/t/t/t/tThank you/n/n/n/n/t/tSincerely PUO");
}
}

Backslash operators used....
/t -- ten spaces.
/n --new line.

Hope it helps (。’▽’。)♡

tanushreeshankar: i just hv to type this in microsoft visual 6.0+ right?
tanushreeshankar: : error C2146: syntax error : missing ';' before identifier 'Java'
:error C2501: 'import' : missing storage-class or type specifiers
: fatal error C1004: unexpected end of file found Error executing cl.exe.

what does this error means and how i correct it?
tanushreeshankar: ooh. but if i do it microsoft visual, how should i do it?
tanushreeshankar: okay if i do it on microsoft visual how should i do it?
Answered by SidGamerYT
0

Answer:

use the link given below to practice

Explanation:

leave all the

#include <studio.h>

int main(  )

focus on printf

have these " " double coats before typing anything

after first " type what u need...For example

printf ("Pls say thanks and mark me as brainliest

then add this    \n  it should be backslash

then close the double coats and the bracket...It should some what look like this

printf ("Pls say thanks and mark me as brainliest \n")

then press the execute button on top left of the square then the out put will be

Pls say thanks and mark me as brainliest

HOPE THIS HELPS YOU....

use the link..ok?

Attachments:
Similar questions