Skip to content

Commit ec7df67

Browse files
authored
Merge branch 'master' into master
2 parents c93f0d9 + 094e767 commit ec7df67

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

CONTRIBUTORS.md

+5
Original file line numberDiff line numberDiff line change
@@ -444,3 +444,8 @@ Name: [Amanda Bertsch](https://github.com/abertsch72) </br>
444444
Place: Arizona, USA </br>
445445
Coding Experience: Python, C, Java, SQL. </br>
446446
Email: [email protected] </br>
447+
448+
Name: [Abhishek Singh](https://github.com/n6wbi6) </br>
449+
Place: India </br>
450+
Coding Experience: 2 years of coding experience in C and python. </br>
451+
Email: [email protected] </br>

awk/pbootly_temperature_convertor.awk

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
BEGIN {printf "Enter a temperature of format ##f or ##c to get the opposing value\n"; getline < "-"} BEGIN { if ( $1 ~ /f/ ) { print (((substr($1, 1, length($1)-1) - 32) * 5/9))"C"} else if ( $1 ~ /c/ ) { print (substr($1, 1, length($1)-1) * 9 / 5 + 32"F")} else {print "Usage: ##f to convert to celcius ##c to convert to fahrenheit"}}

c/hello/n6wbi6_hello_world.c

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#include <stdio.h>
2+
3+
int main() {
4+
5+
printf("Hello, world!");
6+
return 0;
7+
8+
}

python/factorial/factorial_n6wbi6.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fact = lambda x: 1 if x == 0 else x * fact(x-1)
2+
#testing it
3+
print(fact(25))

0 commit comments

Comments
 (0)