-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprintwords.html
52 lines (52 loc) · 1.14 KB
/
printwords.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html>
<head>
<title>c coding</title>
<style type="text/css">
h1{
text-align: center;
}
.clrscr{
background-color: #ff00ff;
}
</style>
</head>
<body bgcolor="yellow">
<h1>IT is a simple c program of user string</h1>
<pre>
#include<conio.h>
#include<stdio.h>
#include<string.h>
void main(){
char name[50];
<div class="clrscr"><!-- used to create a property(space) --><!-- ctrl shift ? -->
clrscr();
</div>
printf("enter u r name\n")
gets(name);
printf("Welcome c programming%s,name);
getch();
}
}</pre>
<!-- Added New Comment Line -->
<h1>This is the simple java programm to print user string</h1>
<pre>
import java.io.*;
import java util.scanner;
class string printng {
public static void main(string args[]){
string name;
scanner get input;
get input=new scanner(system.in);
system.out.println("Ener u r name");
name=getinput.nextline();
system.out.println("welcome to java progaming mr,"+name);
}
}
</pre>
<p>
<u>Let see our next update soon</u>
every body say commet in phone for new update
</p>
</body>
</html>