Happy New Year 2020 in Different Programming Languages

Ok, so this is something different now, let’s write Happy New Year 2020 in Different Programming and Markup Languages. I hope this will be fun. So why I’m wasting time, Let’s get right on the main stuff…

Kotlin

pakage NewYear

fun main() {
println("Happy New Year 2020")
}

C#

using System;
class NewYear
{
public static void Main(string[] args)
{
Console.WriteLine("Happy New Year 2020");
}
}

Java

class NewYear {
public static void main(String[] args) {
System.out.println("Happy New Year 2020");
}
}

JavaScript

console.log("Happy New Year 2020");

Python

print("Happy New Year 2020")

C

#include <stdio.h>

int main(void)
{
    printf("Happy New Year 2020\n");
}

C++

#include <iostream>

int main()
{
    std::cout << "Happy New Year 2020\n";
    return 0;
}

HTML

I know HTML is not a programming language, but this is fun LOL.

<!DOCTYPE html>
<html>
<body>
<h1>Happy New Year 2020</h1>
</body>
</html>

Updated Post With Pictures: Happy New Year 2021 in Different Programming Languages


Objective-C

#import 
#import 
 
int main(void)
{
    NSLog(@"Happy New Year 2020
");
    return 0;
}

MATLAB

disp('Happy New Year 2020')

Pascal

program NewYear;
begin
  WriteLn('Happy New Year 2020');
end.

Ruby

puts "Happy New Year 2020"

Write Happy New Year 2020 in Your Favorite Language. Use Comment Section Below.

Sachin Sharma

I am a programmer and Tech Enthusiast who loves to use my creative skills to solve complex problems.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *