Skip to content

Instantly share code, notes, and snippets.

View manthanabc's full-sized avatar
🟪
May the force be with you

Magic Panda manthanabc

🟪
May the force be with you
View GitHub Profile
@manthanabc
manthanabc / superscript.c
Created November 30, 2023 21:50
Print The given number in subscript using unicode characters
#include <Windows.h>
#include <stdio.h>
int print_up(int input)
{
SetConsoleOutputCP(CP_UTF8);
int rev=0;
while(input) {
rev=rev*10+input%10;
input=input/10;
@manthanabc
manthanabc / superscript.c
Created November 30, 2023 21:50
Print The given number in subscript using unicode characters
#include <Windows.h>
#include <stdio.h>
int print_up(int input)
{
SetConsoleOutputCP(CP_UTF8);
int rev=0;
while(input) {
rev=rev*10+input%10;
input=input/10;
/*
NATO (North Atlantic Treaty Organization)'s Logo using turtle
author: Manthan Patil, 26, september 2023
*/
#include "simplecpp"
#include <math.h>
void backward(int n) {
left(180);