Skip to content

Instantly share code, notes, and snippets.

View imsushant12's full-sized avatar
:octocat:
Always keep dy/dx > 0

Sushant Gaurav imsushant12

:octocat:
Always keep dy/dx > 0
View GitHub Profile
[
{
"id": "A001",
"name": "Tom",
"math": 60,
"physics": 66,
"chemistry": 61
},
{
"id": "A002",
@imsushant12
imsushant12 / MARKDOWN.md
Created June 5, 2021 06:24
This gist contains basic writing and formatting of markdown files (Basically a cheat sheet for writing Markdown Files)

GENERAL MARKDOWN RULES:

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
#include <stdio.h>
#include <stdio.h>
#include <string.h>
int getInput(char [128]);
int removeSpaces(char [128]);
int main()
{
char input[128];
#include <bits/stdc++.h>
using namespace std;
struct treenode
{
int info;
struct treenode *left;
struct treenode *right;
};
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
int fact(int n)
{
if (n <= 1)
return 1;
return n*fact(n-1);
#include <bits/stdc++.h>
using namespace std;
void findLargestSmallest(int a[] , int n)
{
int large = INT_MIN , small = INT_MAX;
for(int i=0 ; i<n ; i++)
{
//when a[i] is smaller than a[i+1]
if(a[i] < a[i+1])
#include<bits/stdc++.h>
using namespace std;
void findLargestSmallest(int a[] , int n)
{
int large = a[0];
int small = a[0];
for(int i=0 ; i<n ; i++)
{
//when a[i] is smaller than small
print("\t\t\t\t\t\t ~~~~~~~~~~~~~~~~~~~~~~~~~~~")
print("\t\t\t\t\t\t || THE HEALTH MANAGER ||")
print("\t\t\t\t\t\t ~~~~~~~~~~~~~~~~~~~~~~~~~~~")
print("\tHi! Save your DIET & EXERCISE here.\n")
while(1):
answer = int(input("Enter 1:View Saved Data\t\t\t2:Add Data\t\t\t3:EXIT\n"))
if answer ==3:
exit(0)