This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Author: Redeem Grimm. | |
Date: Can't Remember, But Wrote This Code Before The Pandermic. | |
Purpose: Play Guessing Game Against The Computer | |
*/ | |
#include<stdio.h> | |
#include<stdlib.h> | |
int main(){ | |
//random num generator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Author: Redeem Grimm | |
Date: April 20 | |
Purpose: Solves Quadratic Equation Using Numerical Approach | |
*/ | |
//variable declaration | |
float a,b,c,rRoot,root1,root2,discriminant,compute1,compute2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
*Author: Redeem Grimm | |
*File Name: PowersOf2.c | |
*Purpose: Computes The Powers Of Two | |
**/ | |
#include<stdio.h> | |
int main(){ | |
//variables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
*Author: Redeem Grimm | |
*File Name: LakeLazyDays.c | |
*Purpose: Tells The Sporting Activity Suitable For A Certain Temperature | |
**/ | |
#include<stdio.h> | |
int main(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
*Author: Redeem Grimm | |
*File Name: RPS.c | |
*Purpose: Play Rock, Paper, Scissors with the user | |
* | |
*/ | |
#include <stdio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Author: Redeem Grimm | |
# Name : Download | |
# Purpose: Download Files On The Internet Using HTTP | |
using HTTP | |
function download(url,fileName) | |
HTTP.download(url,fileName) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: shutdown | |
tags: shellcommand,advance | |
--- | |
Shutdown computer in a duration given by the user and message to be displayed stating the reason for shutdown. | |
Use variable `Sys.KERNEL` to handle differences between operating systems. | |
Use `@static` macro at beginning of expression for mutually exclusive subsets of isunix (Optional). | |
Use `run` function which take an object of type `osCommand` defined by enclosing a command string in backticks and execute |