Skip to content

Instantly share code, notes, and snippets.

View sannimichaelse's full-sized avatar

Michael Sanni sannimichaelse

View GitHub Profile
@sannimichaelse
sannimichaelse / questions.pas
Last active November 26, 2020 23:46
Solve all pascal programs
(************************************************************************
Area of Circle - Program to find Area of a circle
*************************************************************************)
program AreaOfCircle;
const
PI = 3.141592654; // constant value of PI
var
@sannimichaelse
sannimichaelse / index.cpp
Last active May 30, 2019 19:14
C++ Practical Class. Week 1 - 10 Solutions
//
// index.cpp
// Algorithms
//
// Created by Sanni Michael on 30/05/2019.
// Copyright © 2019 Sanni Michael. All rights reserved.
#include <iostream>
using namespace std;
@sannimichaelse
sannimichaelse / main.cpp
Last active June 12, 2019 07:19
Solve all assignments and questions given in the c++ class
//
// main.cpp
// Algorithms
//
// Created by Sanni Michael on 01/05/2019.
// Copyright © 2019 Sanni Michael. All rights reserved.
/**** The programs written below makes use of functions which are later called in the main function.
This allows us to familiarize ourself with modular programming
@sannimichaelse
sannimichaelse / oop.js
Created November 19, 2018 15:42
Demonstrating Knowledge of OOP using Inheritance, Polymorphism, and Encapsulation
/*****
INHERITANCE
******/
class AnimalKingdom {
constructor(name){
this.speed = 0;
this.name = name;