Skip to content

Commit

Permalink
Coffee to Code - Carbon (#134)
Browse files Browse the repository at this point in the history
* Create Bourbxn.carbon

* Delete Carbon directory

* Add carbon language
  • Loading branch information
Bourbxn authored Oct 3, 2022
1 parent ab5bdca commit 12ad696
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Carbon/Bourbxn.carbon
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//--------------------//
// Coffee to Code //
//--------------------//

package ExplorerTest api;

fn Coffee_To_Code(my_favorite_things: String) -> String {
if(my_favorite_things=="Coffee"){
return "Code";
}
else{
return my_favorite_things;
}
}

fn Main() -> i32 {
var my_favorite_things: String = "Coffee";
Print(Coffee_To_Code(my_favorite_things));
return 0;
}

//-----------------------------------------------//
// My favorite things is coffee with code :) //
// Made by Bourbxn //
//-----------------------------------------------//

0 comments on commit 12ad696

Please sign in to comment.