2 BASIC CODING
1. C
#include <stdio.h>
int main() {
printf("I am 10th");
return 0;
}
2. Python
print("I am 10th")
3. Java
public class HelloWorld{
public static void main(String []args){
System.out.println("I am 10th");
}
}
4. C++
#include <iostream>
int main()
{
printf("I am 10th");
return 0;
}
5. C#
using System.IO;
using System;
class Program
{
static void Main()
{
Console.WriteLine("I am 10th");
}
}
6. Visual Basic
Module VBModule
Sub Main()
Console.WriteLine("I am 10th")
End Sub
End Module
7. JavaScript
<!DOCTYPE html>
<html>
<body>
<p id="tenth"></p>
<script>
document.getElementById("tenth").innerHTML = "I am 10th"
</script>
</body>
</html>
8. PHP
<?php print("I am 10th"); ?>
9. R
print("I am 10th")
10. SQL
BEGIN TRANSACTION;
CREATE TABLE FORPRINT(Id integer PRIMARY KEY);
COMMIT;
SELECT 'I am 1'||count(*)||'th' FROM FORPRINT where 1=2;