Skip to content

Instantly share code, notes, and snippets.

View swaaz's full-sized avatar

Swasthik Shetty swaaz

View GitHub Profile
@swaaz
swaaz / main.cpp
Last active July 15, 2022 20:14
SPORTS COACHING INSTITUTE MANAGEMENT SYSTEM
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// SPORTS COACHING INSTITUTE MANAGEMENT SYSTEM
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Headers inclusion
#include <iostream>
#include <fstream>
@swaaz
swaaz / University.cpp
Last active July 14, 2022 20:09
Console application with multiple query filters (rank, city, area, probability of admission,etc.) Made using file-structures concepts (full CRUD application)
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <stdlib.h>
using namespace std;
class Institute
{
public:
import React, { useEffect, useState } from 'react'
import { Image, SafeAreaView, StyleSheet, Text, TouchableOpacity, View , StatusBar} from 'react-native'
import MapView, { Polyline } from 'react-native-maps';
import StartTrackingFooter from './StartTrackingFooter';
import TrackFooterCard from './TrackFooterCard';
import * as Location from "expo-location";
// import useLocation from '../hooks/useGeoLocation';
import {haversine} from 'haversine';
import useTimer from '../hooks/useTimer';
import Header from './Header';
@swaaz
swaaz / app.c
Created June 22, 2020 11:18
GUI
#include<stdio.h>
int square(int i) {
return i * i;
}
@swaaz
swaaz / Main.cpp
Last active May 31, 2020 17:24
Programming apti Assignment- 2
// Question 1: Consider the scenario where 6 professors are training a bunch of 63 students on 6 programming languages(Java, C, Python, CPP, C_Hash, R).
// Deploy the scenario in the interactive mode and perform several tasks using the constraints and conditions below,
// Student has following properties:
// Attributes -> name, age, usn, cgpa(avg. of 6 programming language scores), favProfName, favPrgLang
// Methods -> getters() and setters() for reading and retrieving data, readStudent() for deploying setters, showStudent() for displaying student details by deploying getters.
// Professor has following properties:
// Attributes -> name, age, profId, salary, favStudentName, progLangHandling, rating
@swaaz
swaaz / index.html
Created March 23, 2020 21:18
Search button animation
<div class="search">
<input type="search" class="search-box" />
<span class="search-button">
<span class="search-icon"></span>
</span>
</div>
@swaaz
swaaz / 1.cpp
Last active February 19, 2020 04:43
apti-cpp
#include <iostream>
using namespace std;
class student{
public: int reg;
string name;
void display();
void read();
private:void display1()
@swaaz
swaaz / p1.java
Last active September 6, 2019 07:15
IC-project
package com.company;
class login
{
String us1 = "swaaz" ;
String pass1= "swaaz";
}
public class input()
@swaaz
swaaz / l3.c
Last active August 7, 2019 18:14
basic programs
#include<stdio.h>
#include<stdlib.h>
int s[100],top=-1,max,i;
int push();
int pop();
int display();
int palindrome();
@swaaz
swaaz / program.c
Last active July 23, 2019 13:57
C program to add details of n students.
#include <stdio.h>
struct student
{
char n[100];
char u[100];
int m;
}stud[10],stud2;
int main()
{
int n,i,p=0;