Nostromo UIDown Range 098006 ETA Orbit Intercept 96:01 Min Preset P.O.R: Nostromo/52 ROT To Tan (Lat) 67° | Version | v0.1.1 | |
|---|---|---|---|
| Updated | |||
| License | MIT | ||
Version
v0.1.1
Updated
2024-12-29
License
MIT
Colors
from maththingy import domath
for equation in maths:
answer = domath(equation)
print(f"very niclely done, here's your maths {answer}")
#include <stdio.h>
extern double domath(char* equation);
extern char* maths[];
extern int maths_length;
int main() {
for(int i = 0; i < maths_length; i++) {
double answer = domath(maths[i]);
printf("very nicely done, here's your maths %f\n", answer);
}
return 0;
}
extern "C" {
fn domath(equation: *const i8) -> f64;
static maths: *const *const i8;
static maths_length: i32;
}
fn main() {
unsafe {
for i in 0..maths_length as usize {
let answer = domath(*maths.offset(i as isize));
println!("very nicely done, here's your maths {answer}");
}
}
}
// #include <stdlib.h>
// extern double domath(char* equation);
// extern char** maths;
// extern int maths_length;
import "C"
import "fmt"
func main() {
for i := 0; i < int(C.maths_length); i++ {
answer := C.domath(C.maths[i])
fmt.Printf("very nicely done, here's your maths %f\n", answer)
}
}
from maththingy import domath
for equation in maths:
answer = domath(equation)
print(f"very niclely done, here's your maths {answer}")
interface MathEngine {
domath(equation: string): number;
}
declare const mathEngine: MathEngine;
declare const maths: string[];
function main() {
for (const equation of maths) {
const answer = mathEngine.domath(equation);
console.log(`very nicely done, here's your maths ${answer}`);
}
}
require_relative 'maththingy'
maths.each do |equation|
answer = domath(equation)
puts "very nicely done, here's your maths #{answer}"
end
